[xiph-commits] r3270 - libfishsound/branches/1.0-stable

conrad at svn.annodex.net conrad at svn.annodex.net
Wed Nov 7 22:59:19 PST 2007


Author: conrad
Date: 2007-11-07 22:59:18 -0800 (Wed, 07 Nov 2007)
New Revision: 3270

Modified:
   libfishsound/branches/1.0-stable/configure.ac
Log:
update configure.ac to handle recent libspeex reorganization:
speex_preprocess moved to libspeexdsp


Modified: libfishsound/branches/1.0-stable/configure.ac
===================================================================
--- libfishsound/branches/1.0-stable/configure.ac	2007-11-07 04:59:21 UTC (rev 3269)
+++ libfishsound/branches/1.0-stable/configure.ac	2007-11-08 06:59:18 UTC (rev 3270)
@@ -217,12 +217,8 @@
     CFLAGS="$CFLAGS $SPEEX_CFLAGS"
 
     dnl Test for libspeex 1.1.x
-    AC_CHECK_LIB(speex, speex_preprocess, HAVE_SPEEX_1_1="maybe", ,
-      [$SPEEX_LIBS])
-    if test "x$HAVE_SPEEX_1_1" = xmaybe; then
-      AC_CHECK_HEADER([speex/speex_preprocess.h], HAVE_SPEEX_1_1="yes",
-        HAVE_SPEEX_1_1="no")
-    fi
+    AC_CHECK_LIB(speex, speex_decode_int, HAVE_SPEEX_1_1="yes",
+        HAVE_SPEEX_1_1="no", [$SPEEX_LIBS])
     if test "x$HAVE_SPEEX_1_1" = xyes ; then
       AC_DEFINE(HAVE_SPEEX_1_1, [1], [Define to 1 if you have libspeex 1.1.x])
       SPEEX_SUPPORT="yes (1.1.x)"



More information about the commits mailing list