comparison configure.in @ 201:56bc776f0563

Midi support.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 04 Jan 2002 06:51:12 +0000
parents e2cb8bfe8051
children e63b9393f6ce
comparison
equal deleted inserted replaced
200:f75ed2d72238 201:56bc776f0563
135 AC_DEFINE(SOUND_SUPPORTS_SHN) 135 AC_DEFINE(SOUND_SUPPORTS_SHN)
136 fi 136 fi
137 137
138 dnl Check for the MIDI pipe decoder... 138 dnl Check for the MIDI pipe decoder...
139 AC_ARG_ENABLE(midi, 139 AC_ARG_ENABLE(midi,
140 [ --enable-midi enable MIDI music via a pipe [default=no]], 140 [ --enable-midi enable software MIDI music [default=yes]],
141 , enable_midi=no) 141 , enable_midi=yes)
142 if test x$enable_midi = xyes; then 142 if test x$enable_midi = xyes; then
143 AC_DEFINE(SOUND_SUPPORTS_MIDI) 143 AC_DEFINE(SOUND_SUPPORTS_MIDI)
144 fi 144 fi
145 145
146 dnl Check for libFLAC 146 dnl Check for libFLAC
219 #AC_FUNC_MALLOC 219 #AC_FUNC_MALLOC
220 220
221 AC_FUNC_MEMCMP 221 AC_FUNC_MEMCMP
222 AC_CHECK_FUNCS([memset strrchr]) 222 AC_CHECK_FUNCS([memset strrchr])
223 223
224 dnl Add Makefile conditionals
225 AM_CONDITIONAL(USE_TIMIDITY, test x$enable_midi = xyes)
224 226
225 AC_OUTPUT([ 227 AC_OUTPUT([
226 Makefile 228 Makefile
227 decoders/Makefile 229 decoders/Makefile
230 decoders/timidity/Makefile
228 test/Makefile 231 test/Makefile
229 ]) 232 ])