changeset 534:a116d8f628a0

Merged r541:543 from branches/stable-1.0: Speex include directory fix.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 17 Apr 2008 17:56:09 +0000
parents 8f93b3ff2d38
children 8a814bbbedfa
files CHANGELOG configure.in decoders/speex.c
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG	Thu Apr 17 17:43:02 2008 +0000
+++ b/CHANGELOG	Thu Apr 17 17:56:09 2008 +0000
@@ -2,6 +2,7 @@
  * CHANGELOG.
  */
 
+04172008 - Look for Speex includes in new directory.
 04112008 - Check if Speex header has bogus data (CVE-2008-1686).
 08062007 - Updated my email address. Added -fvisibility=hidden support.
 07152007 - Minor correction in Timidity resampling code (Thanks, Sam!).
--- a/configure.in	Thu Apr 17 17:43:02 2008 +0000
+++ b/configure.in	Thu Apr 17 17:56:09 2008 +0000
@@ -296,7 +296,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	Thu Apr 17 17:43:02 2008 +0000
+++ b/decoders/speex.c	Thu Apr 17 17:56:09 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"