comparison configure.in @ 276:d7d55903124c

Changed --enable-vorbis to --enable-ogg, made other format tweaks.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 14 Mar 2002 16:16:53 +0000
parents 6fe6de401b63
children 259daddc2d6b
comparison
equal deleted inserted replaced
275:da9c762c55e4 276:d7d55903124c
126 AC_DEFINE(SOUND_SUPPORTS_AIFF) 126 AC_DEFINE(SOUND_SUPPORTS_AIFF)
127 fi 127 fi
128 128
129 dnl Check for au decoder inclusion 129 dnl Check for au decoder inclusion
130 AC_ARG_ENABLE(au, 130 AC_ARG_ENABLE(au,
131 [ --enable-au enable AU decoding [default=yes]], 131 [ --enable-au enable AU decoding [default=yes]],
132 , enable_au=yes) 132 , enable_au=yes)
133 if test x$enable_au = xyes; then 133 if test x$enable_au = xyes; then
134 AC_DEFINE(SOUND_SUPPORTS_AU) 134 AC_DEFINE(SOUND_SUPPORTS_AU)
135 fi 135 fi
136 136
211 LIBS="$LIBS -lmodplug" 211 LIBS="$LIBS -lmodplug"
212 AC_DEFINE(SOUND_SUPPORTS_MODPLUG) 212 AC_DEFINE(SOUND_SUPPORTS_MODPLUG)
213 fi 213 fi
214 fi 214 fi
215 215
216 dnl Check for vorbis 216 dnl Check for ogg
217 AC_ARG_ENABLE(vorbis, 217 AC_ARG_ENABLE(ogg,
218 [ --enable-vorbis enable OGG decoding via vorbis [default=yes]], 218 [ --enable-ogg enable OGG decoding via libvorbis [default=yes]],
219 , enable_vorbis=yes) 219 , enable_ogg=yes)
220 if test x$enable_vorbis = xyes; then 220 if test x$enable_ogg = xyes; then
221 AM_PATH_VORBIS 221 AM_PATH_VORBIS
222 if test "x$no_vorbis" = "x" ; then 222 if test "x$no_vorbis" = "x" ; then
223 CFLAGS="$CFLAGS $VORBIS_CFLAGS" 223 CFLAGS="$CFLAGS $VORBIS_CFLAGS"
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)