comparison configure.in @ 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 c5f184b4b2cd
children 989a46bb88d2
comparison
equal deleted inserted replaced
529:4546fd3f664a 532:a8492d97dd5a
274 [ --enable-speex enable SPX decoding via libspeex [default=yes]], 274 [ --enable-speex enable SPX decoding via libspeex [default=yes]],
275 , enable_speex=yes) 275 , enable_speex=yes)
276 if test x$enable_speex = xyes; then 276 if test x$enable_speex = xyes; then
277 AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes) 277 AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes)
278 AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg_lib=yes) 278 AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg_lib=yes)
279 AC_CHECK_HEADER(speex.h, have_speex_hdr=yes) 279 AC_CHECK_HEADER(speex/speex.h, have_speex_hdr=yes)
280 AC_CHECK_LIB(speex, speex_bits_init, have_speex_lib=yes) 280 AC_CHECK_LIB(speex, speex_bits_init, have_speex_lib=yes)
281 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 281 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
282 LIBS="$LIBS -logg -lspeex" 282 LIBS="$LIBS -logg -lspeex"
283 AC_DEFINE(SOUND_SUPPORTS_SPEEX, 1, [Define if SPEEX support is desired.]) 283 AC_DEFINE(SOUND_SUPPORTS_SPEEX, 1, [Define if SPEEX support is desired.])
284 fi 284 fi