Browse Source

Rework autoconf scripts.

pull/1/head
Guillaume Beraudo 13 years ago
parent
commit
a4763c9506
3 changed files with 6 additions and 8 deletions
  1. +3
    -3
      configure.ac
  2. +2
    -4
      msbcg729/Makefile.am
  3. +1
    -1
      src/Makefile.am

+ 3
- 3
configure.ac View File

@ -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([


+ 2
- 4
msbcg729/Makefile.am View File

@ -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)

+ 1
- 1
src/Makefile.am View File

@ -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


Loading…
Cancel
Save