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:
parent
64ab12ccee
commit
3939327590
|
@ -14,6 +14,8 @@ AC_PROG_LIBTOOL
|
||||||
|
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES(LIBASN1C, libasn1c)
|
||||||
|
|
||||||
# The following test is taken from WebKit's webkit.m4
|
# The following test is taken from WebKit's webkit.m4
|
||||||
saved_CFLAGS="$CFLAGS"
|
saved_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$CFLAGS -fvisibility=hidden "
|
CFLAGS="$CFLAGS -fvisibility=hidden "
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
LIBVERSION=0:0:0
|
LIBVERSION=0:0:0
|
||||||
|
|
||||||
INCLUDES = $(all_includes) -I/usr/local/include/asn1c -I$(top_srcdir)/include
|
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 = \
|
libosmo_asn1_tcap_la_SOURCES = \
|
||||||
DialoguePDU.c \
|
DialoguePDU.c \
|
||||||
|
|
Loading…
Reference in New Issue