Mercurial > SDL_sound_CoreAudio
diff configure.in @ 262:6fe6de401b63
mpglib support.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 21 Feb 2002 19:46:55 +0000 |
parents | c54eae85f5f1 |
children | d7d55903124c |
line wrap: on
line diff
--- a/configure.in Thu Feb 21 19:46:09 2002 +0000 +++ b/configure.in Thu Feb 21 19:46:55 2002 +0000 @@ -142,7 +142,7 @@ AC_DEFINE(SOUND_SUPPORTS_SHN) fi -dnl Check for the MIDI pipe decoder... +dnl Check for the MIDI decoder... AC_ARG_ENABLE(midi, [ --enable-midi enable software MIDI music [default=yes]], , enable_midi=yes) @@ -165,7 +165,7 @@ dnl Check for SMPEG AC_ARG_ENABLE(smpeg, -[ --enable-smpeg enable MP3 music via smpeg [default=yes]], +[ --enable-smpeg enable MP3 decoding via smpeg [default=yes]], , enable_smpeg=yes) if test x$enable_smpeg = xyes; then SMPEG_VERSION=0.4.3 @@ -173,10 +173,19 @@ if test "x$no_smpeg" = "x" ; then CFLAGS="$CFLAGS $SMPEG_CFLAGS" LIBS="$LIBS $SMPEG_LIBS" - AC_DEFINE(SOUND_SUPPORTS_MP3) + AC_DEFINE(SOUND_SUPPORTS_SMPEG) fi fi +dnl Check for the MIDI decoder... +AC_ARG_ENABLE(mpglib, +[ --enable-mpglib enable MP3 decoding internally [default=yes]], + , enable_mpglib=yes) +if test x$enable_mpglib = xyes; then + AC_DEFINE(SOUND_SUPPORTS_MPGLIB) +fi + + dnl Check for libmikmod AC_ARG_ENABLE(mikmod, [ --enable-mikmod enable MOD decoding via mikmod [default=yes]], @@ -243,10 +252,12 @@ dnl Add Makefile conditionals AM_CONDITIONAL(USE_TIMIDITY, test x$enable_midi = xyes) +AM_CONDITIONAL(USE_MPGLIB, test x$enable_mpglib = xyes) AC_OUTPUT([ Makefile decoders/Makefile decoders/timidity/Makefile +decoders/mpglib/Makefile playsound/Makefile ])