changeset 532:a8492d97dd5a stable-1.0

Newer versions of Speex moved to a new include directory.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 17 Apr 2008 17:54:55 +0000
parents 4546fd3f664a
children cad2940e992f
files configure.in decoders/speex.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Apr 16 20:50:50 2008 +0000
+++ b/configure.in	Thu Apr 17 17:54:55 2008 +0000
@@ -276,7 +276,7 @@
 if test x$enable_speex = xyes; then
   AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes)
   AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg_lib=yes)
-  AC_CHECK_HEADER(speex.h, have_speex_hdr=yes)
+  AC_CHECK_HEADER(speex/speex.h, have_speex_hdr=yes)
   AC_CHECK_LIB(speex, speex_bits_init, have_speex_lib=yes)
   if test "x$have_ogg_hdr" = "xyes" -a "x$have_ogg_lib" = "xyes" -a "x$have_speex_hdr" = "xyes" -a "x$have_speex_lib" = "xyes"; then
     LIBS="$LIBS -logg -lspeex"
--- a/decoders/speex.c	Wed Apr 16 20:50:50 2008 +0000
+++ b/decoders/speex.c	Thu Apr 17 17:54:55 2008 +0000
@@ -51,8 +51,8 @@
 #include <assert.h>
 
 #include <ogg/ogg.h>
-#include <speex.h>
-#include <speex_header.h>
+#include <speex/speex.h>
+#include <speex/speex_header.h>
 
 #include "SDL_sound.h"