]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't build the tests that use libsndfile and libsamplerate (FSBUILD-67)
authorBrian West <brian@freeswitch.org>
Mon, 18 Aug 2008 16:53:31 +0000 (16:53 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 18 Aug 2008 16:53:31 +0000 (16:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9319 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/libresample/Makefile.am
libs/libresample/configure.in

index 0ee5e92dc43c85e80827c8cf859ecdea8853f7b4..fc6f151b857e3ce664d7298cb2c056dbd986fe0c 100644 (file)
@@ -20,16 +20,16 @@ testresample_SOURCES = tests/testresample.c
 testresample_CFLAGS = $(AM_CFLAGS)
 testresample_LDADD = ${top_builddir}/libresample.la
 
-if SAMPLE
-bin_PROGRAMS += compareresample
-compareresample_SOURCES = tests/compareresample.c
-compareresample_CFLAGS = $(AM_CFLAGS)
-compareresample_LDADD = ${top_builddir}/libresample.la -lsamplerate
-endif
+#if SAMPLE
+#bin_PROGRAMS += compareresample
+#compareresample_SOURCES = tests/compareresample.c
+#compareresample_CFLAGS = $(AM_CFLAGS)
+#compareresample_LDADD = ${top_builddir}/libresample.la -lsamplerate
+#endif
 
-if SNDFILE
-bin_PROGRAMS += resample_sndfile
-resample_sndfile_SOURCES = tests/resample-sndfile.c
-resample_sndfile_CFLAGS = $(AM_CFLAGS)
-resample_sndfile_LDADD = ${top_builddir}/libresample.la -lsndfile
-endif
+#if SNDFILE
+#bin_PROGRAMS += resample_sndfile
+#resample_sndfile_SOURCES = tests/resample-sndfile.c
+#resample_sndfile_CFLAGS = $(AM_CFLAGS)
+#resample_sndfile_LDADD = ${top_builddir}/libresample.la -lsndfile
+#endif
index 66e8e1eb164a9877945ab706313805ba20abd7f2..daeaa3fbf7377b585fdf90cb91e10b1eec0cb9ab 100644 (file)
@@ -128,13 +128,13 @@ AC_SUBST(DYNAMIC_LIB_EXTEN)
 AC_DEFINE_UNQUOTED([__FUNCTION__],[$FUNC_DEF],[define it the right way ;)])
 AC_DEFINE_UNQUOTED([inline],[$IN_LINE],[sunpro is bad at inline])
 
-AC_CHECK_LIB(sndfile, sf_open, have_libsndfile=yes, have_libsndfile=no)
+#AC_CHECK_LIB(sndfile, sf_open, have_libsndfile=yes, have_libsndfile=no)
 
-AC_CHECK_LIB(samplerate, src_simple, have_libsamplerate=yes, have_libsamplerate=no)
+#AC_CHECK_LIB(samplerate, src_simple, have_libsamplerate=yes, have_libsamplerate=no)
 
 
-AM_CONDITIONAL([SAMPLE], [test $have_libsamplerate = "yes"])
-AM_CONDITIONAL([SNDFILE],[test $have_libsndfile = "yes"])
+#AM_CONDITIONAL([SAMPLE], [test $have_libsamplerate = "yes"])
+#AM_CONDITIONAL([SNDFILE],[test $have_libsndfile = "yes"])
 
 
 AC_CHECK_HEADERS(inttypes.h)
@@ -144,24 +144,24 @@ AC_OUTPUT([Makefile])
 
 echo ""
 
-if [[ $have_libsamplerate = "yes" ]] ; then
-       echo "Configured to build tests/resample-sndfile using libsndfile"
-       echo ""
-else
-       echo "Could not find libsndfile - needed if you want to"
-       echo "compile tests/resample-sndfile"
-       echo ""
-fi
-
-if [[ $have_libsamplerate = "yes" ]] ; then
-       echo "Configured to build tests/compareresample to compare against"
-   echo "Erik de Castro Lopo's libsamplerate library."
-       echo ""
-else
-       echo "Could not find libsamplerate - only needed if you want to"
-       echo "compile tests/compareresample to compare their performance."
-       echo ""
-fi
+#if [[ $have_libsamplerate = "yes" ]] ; then
+#      echo "Configured to build tests/resample-sndfile using libsndfile"
+#      echo ""
+#else
+#      echo "Could not find libsndfile - needed if you want to"
+#      echo "compile tests/resample-sndfile"
+#      echo ""
+#fi
+
+#if [[ $have_libsamplerate = "yes" ]] ; then
+#      echo "Configured to build tests/compareresample to compare against"
+#   echo "Erik de Castro Lopo's libsamplerate library."
+#      echo ""
+#else
+#      echo "Could not find libsamplerate - only needed if you want to"
+#      echo "compile tests/compareresample to compare their performance."
+#      echo ""
+#fi
 
 echo "Type 'configure --help' to see options."
 echo ""