Commit a4763c95 authored by Guillaume Beraudo's avatar Guillaume Beraudo

Rework autoconf scripts.

parent 8d5d6c1e
......@@ -30,9 +30,9 @@ if test $GCC = yes && test $wall_werror = yes; then
fi
# check for libraries that have pkg-config files installed
PKG_CHECK_MODULES(ORTP, ortp >= 0.16.0,[found_ortp=true],foo=bar)
PKG_CHECK_MODULES(MEDIASTREAMER, mediastreamer >= 2.0.0,[found_ms2=true],foo=bar)
AM_CONDITIONAL(BUILD_MSBCG729, test x$found_ms2 = xtrue && test x$found_ortp = xtrue)
PKG_CHECK_MODULES(ORTP, ortp >= 0.21.0,[found_ortp=true],foo=bar)
PKG_CHECK_MODULES(MEDIASTREAMER, mediastreamer >= 2.8.99,[found_ms2=true],foo=bar)
AM_CONDITIONAL(BUILD_MSBCG729, test x$found_ms2x$found_ortp = xtruextrue)
# Create the following files from their .in counterparts
AC_CONFIG_FILES([
......
......@@ -11,8 +11,6 @@ libmsbcg729_la_LIBADD=\
$(MEDIASTREAMER_LIBS) \
$(top_builddir)/src/libbcg729.la
libmsbcg729_la_LDFLAGS=-module -no-undefined
libmsbcg729_la_LDFLAGS=-module -no-undefined $(MEDIASTREAMER_LDFLAGS)
INCLUDES = -I$(top_srcdir)/include
libmsbcg729_la_CFLAGS= $(ORTP_CFLAGS) $(MEDIASTREMER2_CFLAGS)
libmsbcg729_la_CFLAGS= $(ORTP_CFLAGS) $(MEDIASTREAMER_CFLAGS)
......@@ -24,7 +24,7 @@ libbcg729_la_SOURCES= LP2LSPConversion.c \
qLSP2LP.c \
utils.c
libbcg729_la_LDFLAGS=-fvisibility=hidden
libbcg729_la_LDFLAGS=-fvisibility=hidden -no-undefined
INCLUDES= -I$(top_srcdir)/include
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment