comparison configure.in @ 340:5a72981b8cba

Added optional, experimental audio conversion routines by Frank Ranostaj.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 20 May 2002 16:21:58 +0000
parents e867f050912c
children cbb15ecf423a
comparison
equal deleted inserted replaced
339:e3ac0d41668c 340:5a72981b8cba
243 , enable_physfs=yes) 243 , enable_physfs=yes)
244 if test x$enable_physfs = xyes; then 244 if test x$enable_physfs = xyes; then
245 AC_CHECK_HEADER(physfs.h, have_physfs_hdr=yes) 245 AC_CHECK_HEADER(physfs.h, have_physfs_hdr=yes)
246 AC_CHECK_LIB(physfs, PHYSFS_init, have_physfs_lib=yes) 246 AC_CHECK_LIB(physfs, PHYSFS_init, have_physfs_lib=yes)
247 if test x$have_physfs_hdr = xyes -a x$have_physfs_lib = xyes; then 247 if test x$have_physfs_hdr = xyes -a x$have_physfs_lib = xyes; then
248 use_physicsfs="yes" 248 enable_physfs="yes"
249 fi 249 else
250 enable_physfs="no"
251 fi
252 fi
253
254 dnl Check for PhysicsFS http://icculus.org/physfs/
255 AC_ARG_ENABLE(altcvt,
256 [ --enable-altcvt enable EXPERIMENTAL audio converter [default=no]],
257 , enable_altcvt=no)
258 if test x$enable_altcvt = xyes; then
259 AC_DEFINE(SOUND_USE_ALTCVT)
250 fi 260 fi
251 261
252 262
253 dnl Check for efence (!!! FIXME : This doesn't work.) 263 dnl Check for efence (!!! FIXME : This doesn't work.)
254 dnl AC_ARG_ENABLE(efence, 264 dnl AC_ARG_ENABLE(efence,
275 AC_CHECK_FUNCS([memset strrchr]) 285 AC_CHECK_FUNCS([memset strrchr])
276 286
277 dnl Add Makefile conditionals 287 dnl Add Makefile conditionals
278 AM_CONDITIONAL(USE_TIMIDITY, test x$enable_midi = xyes) 288 AM_CONDITIONAL(USE_TIMIDITY, test x$enable_midi = xyes)
279 AM_CONDITIONAL(USE_MPGLIB, test x$enable_mpglib = xyes) 289 AM_CONDITIONAL(USE_MPGLIB, test x$enable_mpglib = xyes)
280 AM_CONDITIONAL(USE_PHYSICSFS, test x$use_physicsfs = xyes) 290 AM_CONDITIONAL(USE_PHYSICSFS, test x$enable_physfs = xyes)
291 AM_CONDITIONAL(USE_ALTCVT, test x$enable_altcvt = xyes)
281 292
282 AC_OUTPUT([ 293 AC_OUTPUT([
283 Makefile 294 Makefile
284 decoders/Makefile 295 decoders/Makefile
285 decoders/timidity/Makefile 296 decoders/timidity/Makefile