don't build the tests that use libsndfile and libsamplerate (FSBUILD-67)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9319 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e1c8897148
commit
e24f6b6f39
|
@ -20,16 +20,16 @@ testresample_SOURCES = tests/testresample.c
|
||||||
testresample_CFLAGS = $(AM_CFLAGS)
|
testresample_CFLAGS = $(AM_CFLAGS)
|
||||||
testresample_LDADD = ${top_builddir}/libresample.la
|
testresample_LDADD = ${top_builddir}/libresample.la
|
||||||
|
|
||||||
if SAMPLE
|
#if SAMPLE
|
||||||
bin_PROGRAMS += compareresample
|
#bin_PROGRAMS += compareresample
|
||||||
compareresample_SOURCES = tests/compareresample.c
|
#compareresample_SOURCES = tests/compareresample.c
|
||||||
compareresample_CFLAGS = $(AM_CFLAGS)
|
#compareresample_CFLAGS = $(AM_CFLAGS)
|
||||||
compareresample_LDADD = ${top_builddir}/libresample.la -lsamplerate
|
#compareresample_LDADD = ${top_builddir}/libresample.la -lsamplerate
|
||||||
endif
|
#endif
|
||||||
|
|
||||||
if SNDFILE
|
#if SNDFILE
|
||||||
bin_PROGRAMS += resample_sndfile
|
#bin_PROGRAMS += resample_sndfile
|
||||||
resample_sndfile_SOURCES = tests/resample-sndfile.c
|
#resample_sndfile_SOURCES = tests/resample-sndfile.c
|
||||||
resample_sndfile_CFLAGS = $(AM_CFLAGS)
|
#resample_sndfile_CFLAGS = $(AM_CFLAGS)
|
||||||
resample_sndfile_LDADD = ${top_builddir}/libresample.la -lsndfile
|
#resample_sndfile_LDADD = ${top_builddir}/libresample.la -lsndfile
|
||||||
endif
|
#endif
|
||||||
|
|
|
@ -128,13 +128,13 @@ AC_SUBST(DYNAMIC_LIB_EXTEN)
|
||||||
AC_DEFINE_UNQUOTED([__FUNCTION__],[$FUNC_DEF],[define it the right way ;)])
|
AC_DEFINE_UNQUOTED([__FUNCTION__],[$FUNC_DEF],[define it the right way ;)])
|
||||||
AC_DEFINE_UNQUOTED([inline],[$IN_LINE],[sunpro is bad at inline])
|
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([SAMPLE], [test $have_libsamplerate = "yes"])
|
||||||
AM_CONDITIONAL([SNDFILE],[test $have_libsndfile = "yes"])
|
#AM_CONDITIONAL([SNDFILE],[test $have_libsndfile = "yes"])
|
||||||
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS(inttypes.h)
|
AC_CHECK_HEADERS(inttypes.h)
|
||||||
|
@ -144,24 +144,24 @@ AC_OUTPUT([Makefile])
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
if [[ $have_libsamplerate = "yes" ]] ; then
|
#if [[ $have_libsamplerate = "yes" ]] ; then
|
||||||
echo "Configured to build tests/resample-sndfile using libsndfile"
|
# echo "Configured to build tests/resample-sndfile using libsndfile"
|
||||||
echo ""
|
# echo ""
|
||||||
else
|
#else
|
||||||
echo "Could not find libsndfile - needed if you want to"
|
# echo "Could not find libsndfile - needed if you want to"
|
||||||
echo "compile tests/resample-sndfile"
|
# echo "compile tests/resample-sndfile"
|
||||||
echo ""
|
# echo ""
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
if [[ $have_libsamplerate = "yes" ]] ; then
|
#if [[ $have_libsamplerate = "yes" ]] ; then
|
||||||
echo "Configured to build tests/compareresample to compare against"
|
# echo "Configured to build tests/compareresample to compare against"
|
||||||
echo "Erik de Castro Lopo's libsamplerate library."
|
# echo "Erik de Castro Lopo's libsamplerate library."
|
||||||
echo ""
|
# echo ""
|
||||||
else
|
#else
|
||||||
echo "Could not find libsamplerate - only needed if you want to"
|
# echo "Could not find libsamplerate - only needed if you want to"
|
||||||
echo "compile tests/compareresample to compare their performance."
|
# echo "compile tests/compareresample to compare their performance."
|
||||||
echo ""
|
# echo ""
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
echo "Type 'configure --help' to see options."
|
echo "Type 'configure --help' to see options."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in New Issue