]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
removing libresample
authorBrian West <brian@freeswitch.org>
Sun, 15 Feb 2009 02:40:43 +0000 (02:40 +0000)
committerBrian West <brian@freeswitch.org>
Sun, 15 Feb 2009 02:40:43 +0000 (02:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12019 d0543943-73ff-0310-b7d9-9358b9ac24b2

Makefile.am
configure.in

index 5dbe98b3eadc68295518f1f5447d43485b828a52..9ebbf89cf75554bbcd2beffbe96d883e998e8b7f 100644 (file)
@@ -146,11 +146,10 @@ CORE_CFLAGS    += -I$(switch_srcdir)/libs/pcre
 CORE_CFLAGS    += -I$(switch_srcdir)/libs/speex/include
 CORE_CFLAGS    += -I$(switch_srcdir)/libs/srtp/include
 CORE_CFLAGS    += -I$(switch_srcdir)/libs/srtp/crypto/include
-CORE_CFLAGS    += $(RESAMPLE_CFLAGS)
 
 CORE_LIBS      = libs/apr-util/libaprutil-1.la libs/apr/libapr-1.la
 CORE_LIBS     += libs/sqlite/libsqlite3.la libs/pcre/libpcre.la libs/speex/libspeex/libspeexdsp.la
-CORE_LIBS     += libs/srtp/libsrtp.la $(RESAMPLE_LIB)
+CORE_LIBS     += libs/srtp/libsrtp.la
 
 lib_LTLIBRARIES                  = libfreeswitch.la
 libfreeswitch_la_CFLAGS   = $(CORE_CFLAGS) $(AM_CFLAGS)
@@ -310,12 +309,6 @@ libs/srtp/libsrtp.la: libs/srtp libs/srtp/.update
        @cd libs/srtp && $(MAKE)
        @$(TOUCH_TARGET)
 
-if USE_INTREE_RESAMPLE
-libs/libresample/libresample.la: libs/libresample libs/libresample/.update
-       @cd libs/libresample && $(MAKE)
-       @$(TOUCH_TARGET)
-endif
-
 core:
        $(MAKE) $(AM_MAKEFLAGS) libfreeswitch.la
 
index 6076cb7131e6e94daf272f1d634dd91700c3f566..2487cdbc6753abd1556ee24ac0843a989d1de296 100644 (file)
@@ -88,27 +88,6 @@ if test "${enable_optimizer}" = "yes" ; then
         AX_CC_MAXOPT
 fi
 
-
-# Optional Features
-
-AC_ARG_ENABLE(resample,
-[AC_HELP_STRING([--disable-resample],[build without embedded resampler])],[enable_resample="$enableval"],[enable_resample="yes"])
-
-# We should add checking for out of tree libresample here
-RESAMPLE_LIB=
-RESAMPLE_CFLAGS=
-if test "${enable_resample}" = "yes"; then
-       RESAMPLE_LIB="libs/libresample/libresample.la"
-       RESAMPLE_CFLAGS="-I${switch_srcdir}/libs/libresample/include"
-else
-        AC_DEFINE([DISABLE_RESAMPLE],[],[Disable the embedded resampler])
-fi
-
-AC_SUBST(RESAMPLE_LIB)
-AC_SUBST(RESAMPLE_CFLAGS)
-
-AM_CONDITIONAL([USE_INTREE_RESAMPLE],[test "${enable_resample}" = "yes"])
-
 # set defaults for use on all platforms
 SWITCH_AM_CFLAGS="-I${switch_srcdir}/src/include -I${switch_srcdir}/libs/libteletone/src"
 SWITCH_AM_CXXFLAGS="-I${switch_srcdir}/src/include -I${switch_srcdir}/libs/libteletone/src"