Mercurial > SDL_sound_CoreAudio
comparison 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 |
comparison
equal
deleted
inserted
replaced
261:9b6e82f7c853 | 262:6fe6de401b63 |
---|---|
140 , enable_shn=yes) | 140 , enable_shn=yes) |
141 if test x$enable_shn = xyes; then | 141 if test x$enable_shn = xyes; then |
142 AC_DEFINE(SOUND_SUPPORTS_SHN) | 142 AC_DEFINE(SOUND_SUPPORTS_SHN) |
143 fi | 143 fi |
144 | 144 |
145 dnl Check for the MIDI pipe decoder... | 145 dnl Check for the MIDI decoder... |
146 AC_ARG_ENABLE(midi, | 146 AC_ARG_ENABLE(midi, |
147 [ --enable-midi enable software MIDI music [default=yes]], | 147 [ --enable-midi enable software MIDI music [default=yes]], |
148 , enable_midi=yes) | 148 , enable_midi=yes) |
149 if test x$enable_midi = xyes; then | 149 if test x$enable_midi = xyes; then |
150 AC_DEFINE(SOUND_SUPPORTS_MIDI) | 150 AC_DEFINE(SOUND_SUPPORTS_MIDI) |
163 fi | 163 fi |
164 fi | 164 fi |
165 | 165 |
166 dnl Check for SMPEG | 166 dnl Check for SMPEG |
167 AC_ARG_ENABLE(smpeg, | 167 AC_ARG_ENABLE(smpeg, |
168 [ --enable-smpeg enable MP3 music via smpeg [default=yes]], | 168 [ --enable-smpeg enable MP3 decoding via smpeg [default=yes]], |
169 , enable_smpeg=yes) | 169 , enable_smpeg=yes) |
170 if test x$enable_smpeg = xyes; then | 170 if test x$enable_smpeg = xyes; then |
171 SMPEG_VERSION=0.4.3 | 171 SMPEG_VERSION=0.4.3 |
172 AM_PATH_SMPEG($SMPEG_VERSION, , no_smpeg=yes) | 172 AM_PATH_SMPEG($SMPEG_VERSION, , no_smpeg=yes) |
173 if test "x$no_smpeg" = "x" ; then | 173 if test "x$no_smpeg" = "x" ; then |
174 CFLAGS="$CFLAGS $SMPEG_CFLAGS" | 174 CFLAGS="$CFLAGS $SMPEG_CFLAGS" |
175 LIBS="$LIBS $SMPEG_LIBS" | 175 LIBS="$LIBS $SMPEG_LIBS" |
176 AC_DEFINE(SOUND_SUPPORTS_MP3) | 176 AC_DEFINE(SOUND_SUPPORTS_SMPEG) |
177 fi | 177 fi |
178 fi | 178 fi |
179 | |
180 dnl Check for the MIDI decoder... | |
181 AC_ARG_ENABLE(mpglib, | |
182 [ --enable-mpglib enable MP3 decoding internally [default=yes]], | |
183 , enable_mpglib=yes) | |
184 if test x$enable_mpglib = xyes; then | |
185 AC_DEFINE(SOUND_SUPPORTS_MPGLIB) | |
186 fi | |
187 | |
179 | 188 |
180 dnl Check for libmikmod | 189 dnl Check for libmikmod |
181 AC_ARG_ENABLE(mikmod, | 190 AC_ARG_ENABLE(mikmod, |
182 [ --enable-mikmod enable MOD decoding via mikmod [default=yes]], | 191 [ --enable-mikmod enable MOD decoding via mikmod [default=yes]], |
183 , enable_mikmod=yes) | 192 , enable_mikmod=yes) |
241 AC_FUNC_MEMCMP | 250 AC_FUNC_MEMCMP |
242 AC_CHECK_FUNCS([memset strrchr]) | 251 AC_CHECK_FUNCS([memset strrchr]) |
243 | 252 |
244 dnl Add Makefile conditionals | 253 dnl Add Makefile conditionals |
245 AM_CONDITIONAL(USE_TIMIDITY, test x$enable_midi = xyes) | 254 AM_CONDITIONAL(USE_TIMIDITY, test x$enable_midi = xyes) |
255 AM_CONDITIONAL(USE_MPGLIB, test x$enable_mpglib = xyes) | |
246 | 256 |
247 AC_OUTPUT([ | 257 AC_OUTPUT([ |
248 Makefile | 258 Makefile |
249 decoders/Makefile | 259 decoders/Makefile |
250 decoders/timidity/Makefile | 260 decoders/timidity/Makefile |
261 decoders/mpglib/Makefile | |
251 playsound/Makefile | 262 playsound/Makefile |
252 ]) | 263 ]) |