Mercurial > SDL_sound_CoreAudio
comparison configure.in @ 110:5e5adbe0f215
Added Midi decoder.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 03 Oct 2001 20:17:48 +0000 |
parents | de42ca5599ac |
children | 68d62a7fe33b |
comparison
equal
deleted
inserted
replaced
109:2aec53e68049 | 110:5e5adbe0f215 |
---|---|
68 if test x$ac_cv_prog_cc_g = xyes; then | 68 if test x$ac_cv_prog_cc_g = xyes; then |
69 CFLAGS="-g -O0" | 69 CFLAGS="-g -O0" |
70 else | 70 else |
71 CFLAGS="-O0" | 71 CFLAGS="-O0" |
72 fi | 72 fi |
73 CFLAGS="$CFLAGS -Werror" | |
73 AC_DEFINE(DEBUG) | 74 AC_DEFINE(DEBUG) |
74 AC_DEFINE(DEBUG_CHATTER) | 75 AC_DEFINE(DEBUG_CHATTER) |
75 else | 76 else |
76 AC_DEFINE(NDEBUG) | 77 AC_DEFINE(NDEBUG) |
77 fi | 78 fi |
132 , enable_shn=yes) | 133 , enable_shn=yes) |
133 if test x$enable_shn = xyes; then | 134 if test x$enable_shn = xyes; then |
134 AC_DEFINE(SOUND_SUPPORTS_SHN) | 135 AC_DEFINE(SOUND_SUPPORTS_SHN) |
135 fi | 136 fi |
136 | 137 |
138 dnl Check for the MIDI pipe decoder... | |
139 AC_ARG_ENABLE(midi, | |
140 [ --enable-midi enable MIDI music via a pipe [default=no]], | |
141 , enable_midi=no) | |
142 if test x$enable_midi = xyes; then | |
143 AC_DEFINE(SOUND_SUPPORTS_MIDI) | |
144 fi | |
145 | |
146 dnl Check for SMPEG | |
147 AC_ARG_ENABLE(smpeg, | |
148 [ --enable-smpeg enable MP3 music via smpeg [default=yes]], | |
149 , enable_smpeg=yes) | |
150 if test x$enable_smpeg = xyes; then | |
151 SMPEG_VERSION=0.4.3 | |
152 AM_PATH_SMPEG($SMPEG_VERSION, , no_smpeg=yes) | |
153 if test "x$no_smpeg" = "x" ; then | |
154 CFLAGS="$CFLAGS $SMPEG_CFLAGS" | |
155 LIBS="$LIBS $SMPEG_LIBS" | |
156 AC_DEFINE(SOUND_SUPPORTS_MP3) | |
157 fi | |
158 fi | |
137 | 159 |
138 dnl Check for libmikmod | 160 dnl Check for libmikmod |
139 AC_ARG_ENABLE(mikmod, | 161 AC_ARG_ENABLE(mikmod, |
140 [ --enable-mikmod enable MOD decoding via mikmod [default=yes]], | 162 [ --enable-mikmod enable MOD decoding via mikmod [default=yes]], |
141 , enable_mikmod=yes) | 163 , enable_mikmod=yes) |
160 LIBS="$LIBS $VORBIS_LIBS $VORBISFILE_LIBS $VORBISENC_LIBS" | 182 LIBS="$LIBS $VORBIS_LIBS $VORBISFILE_LIBS $VORBISENC_LIBS" |
161 AC_DEFINE(SOUND_SUPPORTS_OGG) | 183 AC_DEFINE(SOUND_SUPPORTS_OGG) |
162 fi | 184 fi |
163 fi | 185 fi |
164 | 186 |
165 dnl Check for SMPEG | |
166 AC_ARG_ENABLE(smpeg, | |
167 [ --enable-smpeg enable MP3 music via smpeg [default=yes]], | |
168 , enable_smpeg=yes) | |
169 if test x$enable_smpeg = xyes; then | |
170 SMPEG_VERSION=0.4.3 | |
171 AM_PATH_SMPEG($SMPEG_VERSION, , no_smpeg=yes) | |
172 if test "x$no_smpeg" = "x" ; then | |
173 CFLAGS="$CFLAGS $SMPEG_CFLAGS" | |
174 LIBS="$LIBS $SMPEG_LIBS" | |
175 AC_DEFINE(SOUND_SUPPORTS_MP3) | |
176 fi | |
177 fi | |
178 | |
179 | |
180 | 187 |
181 # Checks for header files. | 188 # Checks for header files. |
182 AC_HEADER_STDC | 189 AC_HEADER_STDC |
183 AC_CHECK_HEADERS([stdlib.h string.h]) | 190 AC_CHECK_HEADERS([stdlib.h string.h]) |
184 | 191 |