Mercurial > SDL_sound_CoreAudio
comparison configure.in @ 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 | a0bb7a9c05b1 |
children | 9ebe77d267e0 |
comparison
equal
deleted
inserted
replaced
531:8f93b3ff2d38 | 534:a116d8f628a0 |
---|---|
294 [ --enable-speex enable SPX decoding via libspeex [default=yes]], | 294 [ --enable-speex enable SPX decoding via libspeex [default=yes]], |
295 , enable_speex=yes) | 295 , enable_speex=yes) |
296 if test x$enable_speex = xyes; then | 296 if test x$enable_speex = xyes; then |
297 AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes) | 297 AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes) |
298 AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg_lib=yes) | 298 AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg_lib=yes) |
299 AC_CHECK_HEADER(speex.h, have_speex_hdr=yes) | 299 AC_CHECK_HEADER(speex/speex.h, have_speex_hdr=yes) |
300 AC_CHECK_LIB(speex, speex_bits_init, have_speex_lib=yes) | 300 AC_CHECK_LIB(speex, speex_bits_init, have_speex_lib=yes) |
301 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 | 301 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 |
302 LIBS="$LIBS -logg -lspeex" | 302 LIBS="$LIBS -logg -lspeex" |
303 AC_DEFINE(SOUND_SUPPORTS_SPEEX, 1, [Define if SPEEX support is desired.]) | 303 AC_DEFINE(SOUND_SUPPORTS_SPEEX, 1, [Define if SPEEX support is desired.]) |
304 fi | 304 fi |