Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@octasic.com>2009-04-15 22:19:04 +0400
committerJean-Marc Valin <jean-marc.valin@octasic.com>2009-04-15 22:19:04 +0400
commit05f7c6f0cb71a2307e074d3a51a9c1e058ee4903 (patch)
tree9faa89a6f534a51112eebd984ec5f1f5c5bb5597 /configure.ac
parente34614cc90114da57ace4108dac0cc20e13b1b8e (diff)
Resurected the --enable-vorbis-psy option by linking with libspeexdsp for the
fft.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e6fd84f..cc30d99 100644
--- a/configure.ac
+++ b/configure.ac
@@ -202,6 +202,12 @@ AC_ARG_ENABLE(ti-c55x, [ --enable-ti-c55x Enable support for TI C55X DSP
AC_DEFINE([TI_C55X], , [Enable support for TI C55X DSP])
fi])
+AC_ARG_ENABLE(vorbis-psy, [ --enable-psy Enable the Vorbis psy model],
+[if test "$enableval" = yes; then
+ vorbis_psy=yes;
+ AC_DEFINE([VORBIS_PSYCHO], , [Enable support for the Vorbis psy model])
+fi])
+
AC_ARG_WITH([fft], [AS_HELP_STRING([--with-fft=choice],[use an alternate FFT implementation. The available choices are
kiss (default fixed point), smallft (default floating point), gpl-fftw3 and proprietary-intel-mkl])],
[FFT=$withval]
@@ -239,6 +245,7 @@ AM_CONDITIONAL(BUILD_KISS_FFT, [test "$FFT" = "kiss"])
AM_CONDITIONAL(BUILD_SMALLFT, [test "$FFT" = "smallft"])
AC_SUBST(FFT_PKGCONFIG)
+AM_CONDITIONAL(BUILD_VORBIS_PSY, [test "x$vorbis_psy" = "xyes"])
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)