Mercurial > SDL_sound_CoreAudio
comparison configure.in @ 288:259daddc2d6b
PhysicsFS support tied into build system.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 16 Mar 2002 08:48:00 +0000 |
parents | d7d55903124c |
children | e867f050912c |
comparison
equal
deleted
inserted
replaced
287:2444b4128efd | 288:259daddc2d6b |
---|---|
224 LIBS="$LIBS $VORBIS_LIBS $VORBISFILE_LIBS $VORBISENC_LIBS" | 224 LIBS="$LIBS $VORBIS_LIBS $VORBISFILE_LIBS $VORBISENC_LIBS" |
225 AC_DEFINE(SOUND_SUPPORTS_OGG) | 225 AC_DEFINE(SOUND_SUPPORTS_OGG) |
226 fi | 226 fi |
227 fi | 227 fi |
228 | 228 |
229 dnl Check for PhysicsFS http://icculus.org/physfs/ | |
230 AC_ARG_ENABLE(physfs, | |
231 [ --enable-physfs enable PhysicsFS in playsound [default=yes]], | |
232 , enable_physfs=yes) | |
233 if test x$enable_physfs = xyes; then | |
234 AC_CHECK_HEADER(physfs.h, have_physfs_hdr=yes) | |
235 AC_CHECK_LIB(physfs, PHYSFS_init, have_physfs_lib=yes) | |
236 if test x$have_physfs_hdr = xyes -a x$have_physfs_lib = xyes; then | |
237 use_physicsfs="yes" | |
238 fi | |
239 fi | |
240 | |
241 | |
229 dnl Check for efence (!!! FIXME : This doesn't work.) | 242 dnl Check for efence (!!! FIXME : This doesn't work.) |
230 dnl AC_ARG_ENABLE(efence, | 243 dnl AC_ARG_ENABLE(efence, |
231 dnl [ --enable-efence enable ElectricFence usage [default=no]], | 244 dnl [ --enable-efence enable ElectricFence usage [default=no]], |
232 dnl , enable_efence=no) | 245 dnl , enable_efence=no) |
233 dnl if test x$enable_efence = xyes; then | 246 dnl if test x$enable_efence = xyes; then |
251 AC_CHECK_FUNCS([memset strrchr]) | 264 AC_CHECK_FUNCS([memset strrchr]) |
252 | 265 |
253 dnl Add Makefile conditionals | 266 dnl Add Makefile conditionals |
254 AM_CONDITIONAL(USE_TIMIDITY, test x$enable_midi = xyes) | 267 AM_CONDITIONAL(USE_TIMIDITY, test x$enable_midi = xyes) |
255 AM_CONDITIONAL(USE_MPGLIB, test x$enable_mpglib = xyes) | 268 AM_CONDITIONAL(USE_MPGLIB, test x$enable_mpglib = xyes) |
269 AM_CONDITIONAL(USE_PHYSICSFS, test x$use_physicsfs = xyes) | |
256 | 270 |
257 AC_OUTPUT([ | 271 AC_OUTPUT([ |
258 Makefile | 272 Makefile |
259 decoders/Makefile | 273 decoders/Makefile |
260 decoders/timidity/Makefile | 274 decoders/timidity/Makefile |