misc: Require LIBASN1C_CFLAGS/_LIBS

In case libasn1c is not in the standard prefix we need to know
where it is.
This commit is contained in:
Holger Hans Peter Freyther 2016-04-05 16:55:19 +02:00
parent 64ab12ccee
commit 3939327590
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ AC_PROG_LIBTOOL
AC_CONFIG_MACRO_DIR([m4])
PKG_CHECK_MODULES(LIBASN1C, libasn1c)
# The following test is taken from WebKit's webkit.m4
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden "

View File

@ -4,7 +4,7 @@
LIBVERSION=0:0:0
INCLUDES = $(all_includes) -I/usr/local/include/asn1c -I$(top_srcdir)/include
AM_CFLAGS = -fPIC -Wall
AM_CFLAGS = -fPIC -Wall $(LIBASN1C_CFLAGS)
libosmo_asn1_tcap_la_SOURCES = \
DialoguePDU.c \