comparison configure.in @ 450:6d328f00c20d

Added Speex decoder.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 13 Sep 2003 20:28:39 +0000
parents ba94ffe34a47
children 6e50a61059b8
comparison
equal deleted inserted replaced
449:daeb71a3f1ed 450:6d328f00c20d
233 LIBS="$LIBS $VORBIS_LIBS $VORBISFILE_LIBS $VORBISENC_LIBS" 233 LIBS="$LIBS $VORBIS_LIBS $VORBISFILE_LIBS $VORBISENC_LIBS"
234 AC_DEFINE(SOUND_SUPPORTS_OGG) 234 AC_DEFINE(SOUND_SUPPORTS_OGG)
235 fi 235 fi
236 fi 236 fi
237 237
238 dnl Check for speex
239 AC_ARG_ENABLE(speex,
240 [ --enable-speex enable SPX decoding via libspeex [default=yes]],
241 , enable_speex=yes)
242 if test x$enable_speex = xyes; then
243 AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes)
244 AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg_lib=yes)
245 AC_CHECK_HEADER(speex.h, have_speex_hdr=yes)
246 AC_CHECK_LIB(speex, speex_bits_init, have_speex_lib=yes)
247 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
248 LIBS="$LIBS -logg -lspeex"
249 AC_DEFINE(SOUND_SUPPORTS_SPEEX)
250 fi
251 fi
252
253
238 dnl Check for PhysicsFS http://icculus.org/physfs/ 254 dnl Check for PhysicsFS http://icculus.org/physfs/
239 AC_ARG_ENABLE(physfs, 255 AC_ARG_ENABLE(physfs,
240 [ --enable-physfs enable PhysicsFS in playsound [default=yes]], 256 [ --enable-physfs enable PhysicsFS in playsound [default=yes]],
241 , enable_physfs=yes) 257 , enable_physfs=yes)
242 if test x$enable_physfs = xyes; then 258 if test x$enable_physfs = xyes; then