Browse Source

fix configure.ac and Makefile.am

pull/1/head
Simon Morlat 11 years ago
parent
commit
d7e2ad0744
2 changed files with 17 additions and 3 deletions
  1. +16
    -1
      configure.ac
  2. +1
    -2
      msbcg729/Makefile.am

+ 16
- 1
configure.ac View File

@ -39,7 +39,22 @@ fi
# check for libraries that have pkg-config files installed
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_ms2}x${found_ortp}x${enable_msplugin} = xtruextruexyes)
if test x${found_ms2}x${found_ortp}x${enable_msplugin} = xtruextruexyes ; then
build_msbcg729=true
else
ORTP_CFLAGS=
ORTP_LIBS=
MEDIASTREAMER_CFLAGS=
MEDIASTREAMER_LIBS=
fi
AC_SUBST(ORTP_CFLAGS)
AC_SUBST(ORTP_LIBS)
AC_SUBST(MEDIASTREAMER_CFLAGS)
AC_SUBST(MEDIASTREAMER_LIBS)
AM_CONDITIONAL(BUILD_MSBCG729, test x$build_msbcg729 = xtrue)
VISIBILITY_CFLAGS=
case "$target_os" in


+ 1
- 2
msbcg729/Makefile.am View File

@ -5,12 +5,11 @@ plugins_LTLIBRARIES=libmsbcg729.la
libmsbcg729_la_SOURCES=bcg729_dec.c bcg729_enc.c
libmsbcg729_la_LIBADD=\
$(ORTP_LIBS) \
$(MEDIASTREAMER_LIBS) \
$(top_builddir)/src/libbcg729.la
libmsbcg729_la_LDFLAGS=-module -no-undefined $(MEDIASTREAMER_LDFLAGS)
libmsbcg729_la_LDFLAGS=-module -no-undefined
AM_CPPFLAGS = -I$(top_srcdir)/include
libmsbcg729_la_CFLAGS= $(ORTP_CFLAGS) $(MEDIASTREAMER_CFLAGS)

Loading…
Cancel
Save