[xiph-commits] r3271 - libfishsound/trunk

conrad at svn.annodex.net conrad at svn.annodex.net
Wed Nov 7 23:01:17 PST 2007


Author: conrad
Date: 2007-11-07 23:01:17 -0800 (Wed, 07 Nov 2007)
New Revision: 3271

Modified:
   libfishsound/trunk/configure.ac
Log:
port changeset:3270 from 1.0-stable branch (update for libspeex svn re-org)


Modified: libfishsound/trunk/configure.ac
===================================================================
--- libfishsound/trunk/configure.ac	2007-11-08 06:59:18 UTC (rev 3270)
+++ libfishsound/trunk/configure.ac	2007-11-08 07:01:17 UTC (rev 3271)
@@ -273,12 +273,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