Skip to content

Latest commit

 

History

History
395 lines (375 loc) · 13.7 KB

configure.in

File metadata and controls

395 lines (375 loc) · 13.7 KB
 
Oct 21, 1999
Oct 21, 1999
1
2
3
4
5
6
7
8
9
10
11
12
dnl Process this file with autoconf to produce a configure script.
AC_INIT(README)
dnl Set various version strings - taken gratefully from the GTk sources
# Making releases:
# MICRO_VERSION += 1;
# INTERFACE_AGE += 1;
# BINARY_AGE += 1;
# if any functions have been added, set INTERFACE_AGE to 0.
# if backwards compatibility has been broken,
# set BINARY_AGE and INTERFACE_AGE to 0.
Apr 30, 2006
Apr 30, 2006
13
#
Oct 21, 1999
Oct 21, 1999
14
MAJOR_VERSION=1
Apr 4, 2001
Apr 4, 2001
15
MINOR_VERSION=2
Jul 14, 2007
Jul 14, 2007
16
17
18
MICRO_VERSION=8
INTERFACE_AGE=6
BINARY_AGE=8
Oct 21, 1999
Oct 21, 1999
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
AC_SUBST(MAJOR_VERSION)
AC_SUBST(MINOR_VERSION)
AC_SUBST(MICRO_VERSION)
AC_SUBST(INTERFACE_AGE)
AC_SUBST(BINARY_AGE)
AC_SUBST(VERSION)
# libtool versioning
LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION
LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE`
LT_REVISION=$INTERFACE_AGE
LT_AGE=`expr $BINARY_AGE - $INTERFACE_AGE`
AC_SUBST(LT_RELEASE)
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
Mar 19, 2006
Mar 19, 2006
39
dnl Detect the canonical build and host environments
Apr 30, 2006
Apr 30, 2006
40
AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
Mar 19, 2006
Mar 19, 2006
41
AC_CANONICAL_HOST
Aug 10, 2000
Aug 10, 2000
42
Apr 30, 2006
Apr 30, 2006
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
dnl Set up the compiler and linker flags
case "$host" in
*-*-cygwin*)
# We build SDL on cygwin without the UNIX emulation layer
BASE_CFLAGS="-I/usr/include/mingw -mno-cygwin"
BASE_LDFLAGS="-mno-cygwin"
;;
*)
BASE_CFLAGS="-D_GNU_SOURCE=1"
BASE_LDFLAGS=""
;;
esac
BUILD_CFLAGS="$CFLAGS $CPPFLAGS"
EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS"
BUILD_LDFLAGS="$LDFLAGS"
EXTRA_LDFLAGS="$BASE_LDFLAGS"
Jul 18, 2007
Jul 18, 2007
59
60
61
62
63
64
65
66
67
## These are common directories to find software packages
#for path in /usr/freeware /usr/pkg /usr/local; do
# if test -d $path/include; then
# EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
# fi
# if test -d $path/lib; then
# EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib"
# fi
#done
Apr 30, 2006
Apr 30, 2006
68
69
70
CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS"
CFLAGS="$CFLAGS $EXTRA_CFLAGS"
LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
Jun 10, 2001
Jun 10, 2001
71
Oct 21, 1999
Oct 21, 1999
72
dnl Check for tools
Dec 26, 1999
Dec 26, 1999
73
AC_LIBTOOL_WIN32_DLL
Apr 30, 2006
Apr 30, 2006
74
75
AC_PROG_LIBTOOL
AC_PROG_CC
Oct 21, 1999
Oct 21, 1999
76
AC_PROG_INSTALL
Apr 30, 2006
Apr 30, 2006
77
AC_PROG_MAKE_SET
Jul 18, 2007
Jul 18, 2007
78
79
80
81
82
83
if test -z "$host_alias"; then
hostaliaswindres=
else
hostaliaswindres="$host_alias-windres"
fi
AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
Apr 30, 2006
Apr 30, 2006
84
85
86
dnl Check for compiler characteristics
AC_C_CONST
Oct 21, 1999
Oct 21, 1999
87
Mar 19, 2006
Mar 19, 2006
88
case "$host" in
Aug 10, 2000
Aug 10, 2000
89
*-*-cygwin* | *-*-mingw32*)
Jul 18, 2007
Jul 18, 2007
90
SOURCES="$srcdir/version.rc"
Apr 30, 2006
Apr 30, 2006
91
EXE=".exe"
Jul 18, 2007
Jul 18, 2007
92
93
94
95
96
97
98
99
100
if test "$build" != "$host"; then # cross-compiling
# Default cross-compile location
ac_default_prefix=/usr/local/cross-tools/i386-mingw32
else
# Look for the location of the tools and install there
if test "$BUILD_PREFIX" != ""; then
ac_default_prefix=$BUILD_PREFIX
fi
fi
Aug 10, 2000
Aug 10, 2000
101
;;
Apr 30, 2006
Apr 30, 2006
102
*)
Jul 18, 2007
Jul 18, 2007
103
SOURCES=""
Apr 30, 2006
Apr 30, 2006
104
EXE=""
Feb 4, 2003
Feb 4, 2003
105
;;
Oct 25, 1999
Oct 25, 1999
106
107
esac
Apr 30, 2006
Apr 30, 2006
108
109
110
111
112
113
114
115
116
117
# Standard C sources
SOURCES="$SOURCES \
$srcdir/effect_position.c \
$srcdir/effect_stereoreverse.c \
$srcdir/effects_internal.c \
$srcdir/load_aiff.c \
$srcdir/load_voc.c \
$srcdir/mixer.c \
$srcdir/music.c"
Jul 18, 2007
Jul 18, 2007
118
119
120
121
122
123
124
125
126
127
128
129
130
find_lib()
{
gcc_lib_path=[`$CC -print-search-dirs 2>/dev/null | fgrep libraries | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`]
env_lib_path=[`echo $LIBS $LDFLAGS | sed 's/-L[ ]*//g'`]
for path in $gcc_lib_path $env_lib_path /usr/lib /usr/local/lib; do
lib=[`ls -- $path/$1 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
if test x$lib != x; then
echo $lib
return
fi
done
}
Nov 23, 1999
Nov 23, 1999
131
dnl Check for SDL
May 9, 2006
May 9, 2006
132
SDL_VERSION=1.2.10
Nov 23, 1999
Nov 23, 1999
133
134
AM_PATH_SDL($SDL_VERSION,
:,
Jul 18, 2007
Jul 18, 2007
135
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
Nov 23, 1999
Nov 23, 1999
136
)
Apr 30, 2006
Apr 30, 2006
137
138
EXTRA_CFLAGS="$EXTRA_CFLAGS $SDL_CFLAGS"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $SDL_LIBS"
Oct 21, 1999
Oct 21, 1999
139
140
dnl Check command-line options
Jun 10, 2001
Jun 10, 2001
141
May 12, 2006
May 12, 2006
142
143
144
AC_ARG_ENABLE([music-cmd],
AC_HELP_STRING([--enable-music-cmd], [support an external music player [[default=yes]]]),
[], [enable_music_cmd=yes])
Oct 21, 1999
Oct 21, 1999
145
if test x$enable_music_cmd = xyes; then
Apr 30, 2006
Apr 30, 2006
146
147
SOURCES="$SOURCES $srcdir/music_cmd.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS -DCMD_MUSIC"
Oct 21, 1999
Oct 21, 1999
148
fi
May 12, 2006
May 12, 2006
149
150
151
AC_ARG_ENABLE([music-wave],
AC_HELP_STRING([--enable-music-wave], [enable streaming WAVE music [[default=yes]]]),
[], [enable_music_wave=yes])
Oct 21, 1999
Oct 21, 1999
152
if test x$enable_music_wave = xyes; then
Apr 30, 2006
Apr 30, 2006
153
154
SOURCES="$SOURCES $srcdir/wavestream.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS -DWAV_MUSIC"
Oct 21, 1999
Oct 21, 1999
155
fi
Dec 27, 2004
Dec 27, 2004
156
no_libmikmod=yes
Nov 13, 2004
Nov 13, 2004
157
158
159
160
libmikmod_maj=3
libmikmod_min=1
libmikmod_rev=10
libmikmod_ver="$libmikmod_maj.$libmikmod_min.$libmikmod_rev"
May 12, 2006
May 12, 2006
161
162
163
AC_ARG_ENABLE([music-libmikmod],
AC_HELP_STRING([--enable-music-libmikmod], [enable MOD music via external libmikmod [[default=no]]]),
[], [enable_music_libmikmod=no])
Nov 13, 2004
Nov 13, 2004
164
if test x$enable_music_libmikmod = xyes; then
Jul 18, 2007
Jul 18, 2007
165
166
167
168
169
170
171
172
173
AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config, no, [$PATH])
if test "$LIBMIKMOD_CONFIG" != "no" ; then
no_libmikmod=no
CFLAGS_SAVED="$CFLAGS"
LIBS_SAVED="$LIBS"
CFLAGS="$CFLAGS -DLIBMIKMOD_MUSIC `$LIBMIKMOD_CONFIG --cflags`"
LIBS="$LIBS `$LIBMIKMOD_CONFIG --libs`"
AC_MSG_CHECKING([for libmikmod - version >= $libmikmod_ver])
AC_TRY_RUN([
Nov 13, 2004
Nov 13, 2004
174
175
176
177
178
#include "mikmod.h"
#include "stdio.h"
int main(int argc, char **argv)
{
Jul 18, 2007
Jul 18, 2007
179
180
181
182
183
184
185
186
long maj=$libmikmod_maj,min=$libmikmod_min,rev=$libmikmod_rev,ver=MikMod_GetVersion();
/*printf("(%d.%d.%d) ",ver>>16,(ver>>8)&0xff,ver&0xff);*/
if(ver>=((maj<<16)|(min<<8)|(rev))) {
printf("yes\n");
return 0;
}
printf("no\n*** libmikmod is older than %d.%d.%d, not using.\n",maj,min,rev);
return 1;
Nov 13, 2004
Nov 13, 2004
187
}
Aug 10, 2006
Aug 10, 2006
188
], EXTRA_CFLAGS="$EXTRA_CFLAGS -DLIBMIKMOD_MUSIC `$LIBMIKMOD_CONFIG --cflags`";EXTRA_LDFLAGS="$EXTRA_LDFLAGS `$LIBMIKMOD_CONFIG --libs`", CFLAGS="$CFLAGS_SAVED";LIBS="$LIBS_SAVED",
Nov 13, 2004
Nov 13, 2004
189
[echo $ac_n "cross compiling; assumed OK... $ac_c"])
Jul 18, 2007
Jul 18, 2007
190
fi
Nov 13, 2004
Nov 13, 2004
191
192
fi
May 12, 2006
May 12, 2006
193
194
195
AC_ARG_ENABLE([music-mod],
AC_HELP_STRING([--enable-music-mod], [enable MOD music via mikmod [[default=yes]]]),
[], [enable_music_mod=$no_libmikmod])
Aug 10, 2006
Aug 10, 2006
196
if test x$enable_music_mod = xyes -a x$enable_music_libmikmod = xno; then
Apr 30, 2006
Apr 30, 2006
197
198
EXTRA_CFLAGS="$EXTRA_CFLAGS -DMOD_MUSIC -I\$(srcdir)/mikmod"
SOURCES="$SOURCES $srcdir/mikmod/*.c"
Oct 21, 1999
Oct 21, 1999
199
fi
May 12, 2006
May 12, 2006
200
201
202
AC_ARG_ENABLE([music-midi],
AC_HELP_STRING([--enable-music-midi], [enable MIDI music via timidity [[default=yes]]]),
[], [enable_music_midi=yes])
Oct 21, 1999
Oct 21, 1999
203
if test x$enable_music_midi = xyes; then
Apr 30, 2006
Apr 30, 2006
204
EXTRA_CFLAGS="$EXTRA_CFLAGS -DMID_MUSIC"
May 12, 2006
May 12, 2006
205
206
207
AC_ARG_ENABLE([music-timidity-midi],
AC_HELP_STRING([--enable-music-timidity-midi], [enable timidity MIDI output [[default=yes]]]),
[], [enable_music_timidity_midi=yes])
Sep 5, 2001
Sep 5, 2001
208
if test x$enable_music_timidity_midi = xyes; then
Apr 30, 2006
Apr 30, 2006
209
210
EXTRA_CFLAGS="$EXTRA_CFLAGS -DUSE_TIMIDITY_MIDI -I\$(srcdir)/timidity"
SOURCES="$SOURCES $srcdir/timidity/*.c"
Sep 5, 2001
Sep 5, 2001
211
fi
May 12, 2006
May 12, 2006
212
213
214
AC_ARG_ENABLE([music-native-midi],
AC_HELP_STRING([--enable-music-native-midi], [enable native MIDI music output [[default=yes]]]),
[], [enable_music_native_midi=yes])
Aug 19, 2001
Aug 19, 2001
215
216
if test x$enable_music_native_midi = xyes; then
use_music_native_midi=no
Mar 19, 2006
Mar 19, 2006
217
case "$host" in
Aug 19, 2001
Aug 19, 2001
218
219
*-*-cygwin* | *-*-mingw32*)
use_music_native_midi=yes
Apr 30, 2006
Apr 30, 2006
220
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lwinmm"
Aug 19, 2001
Aug 19, 2001
221
;;
Sep 5, 2001
Sep 5, 2001
222
223
*-*-darwin*)
use_music_native_midi=yes
Jul 3, 2007
Jul 3, 2007
224
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuickTime -Wl,-framework,CoreServices"
Sep 5, 2001
Sep 5, 2001
225
;;
Aug 19, 2001
Aug 19, 2001
226
227
esac
if test x$use_music_native_midi = xyes; then
Apr 30, 2006
Apr 30, 2006
228
229
EXTRA_CFLAGS="$EXTRA_CFLAGS -DUSE_NATIVE_MIDI -I\$(srcdir)/native_midi"
SOURCES="$SOURCES $srcdir/native_midi/*.c"
Aug 19, 2001
Aug 19, 2001
230
231
fi
fi
May 12, 2006
May 12, 2006
232
233
234
AC_ARG_ENABLE([music-native-midi-gpl],
AC_HELP_STRING([--enable-music-native-midi-gpl], [enable native MIDI on UNIX using GPL code [[default=no]]]),
[], [enable_music_native_midi_gpl=no])
Feb 13, 2002
Feb 13, 2002
235
236
if test x$enable_music_native_midi_gpl = xyes; then
use_music_native_midi_gpl=no
Mar 19, 2006
Mar 19, 2006
237
case "$host" in
Feb 13, 2002
Feb 13, 2002
238
239
240
241
242
*-*-linux* | *-*-freebsd*)
use_music_native_midi_gpl=yes
;;
esac
if test x$use_music_native_midi_gpl = xyes; then
Apr 30, 2006
Apr 30, 2006
243
244
EXTRA_CFLAGS="$EXTRA_CFLAGS -DUSE_NATIVE_MIDI -I\$(srcdir)/native_midi"
SOURCES="$SOURCES $srcdir/native_midi_gpl/*.c"
Feb 13, 2002
Feb 13, 2002
245
246
fi
fi
Oct 21, 1999
Oct 21, 1999
247
fi
May 12, 2006
May 12, 2006
248
249
250
AC_ARG_ENABLE([music-ogg],
AC_HELP_STRING([--enable-music-ogg], [enable Ogg Vorbis music [[default=yes]]]),
[], [enable_music_ogg=yes])
Jul 18, 2007
Jul 18, 2007
251
252
253
254
AC_ARG_ENABLE(music-ogg-tremor,
[ --enable-music-ogg-tremor enable OGG music via libtremor [[default=no]]],
[], enable_music_ogg_tremor=no)
AC_ARG_ENABLE([music-ogg-shared],
May 12, 2006
May 12, 2006
255
AC_HELP_STRING([--enable-music-ogg-shared], [dynamically load Ogg Vorbis support [[default=yes]]]),
Jul 18, 2007
Jul 18, 2007
256
257
258
259
260
261
262
263
264
[], [enable_music_ogg_shared=yes])
if test x$enable_music_ogg = xyes; then
if test x$enable_music_ogg_tremor = xyes; then
AC_CHECK_HEADER([tremor/ivorbisfile.h], [have_tremor_hdr=yes])
AC_CHECK_LIB([vorbisidec], [ov_open_callbacks], [have_tremor_lib=yes])
if test x$have_tremor_hdr = xyes -a x$have_tremor_lib = xyes; then
case "$host" in
*-*-darwin*)
ogg_lib=[`find_lib libvorbisidec*.dylib`]
Feb 13, 2007
Feb 13, 2007
265
if test x$ogg_lib = x; then
Jul 18, 2007
Jul 18, 2007
266
ogg_lib=[`find_lib libvorbisidec.[0-9]`]
Feb 13, 2007
Feb 13, 2007
267
fi
May 12, 2006
May 12, 2006
268
if test x$ogg_lib = x; then
Jul 18, 2007
Jul 18, 2007
269
ogg_lib=[`find_lib libvorbisidec.[0-9]*`]
May 12, 2006
May 12, 2006
270
fi
Jul 18, 2007
Jul 18, 2007
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
;;
*-*-cygwin* | *-*-mingw32*)
ogg_lib=[`find_lib "vorbisidec*dll"`]
;;
*)
ogg_lib=[`find_lib "libvorbisidec.so.[0-9]"`]
if test x$ogg_lib = x; then
ogg_lib=[`find_lib "libvorbisidec.so.[0-9]*"`]
fi
;;
esac
SOURCES="$SOURCES $srcdir/*_ogg.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_MUSIC -DOGG_USE_TREMOR"
if test x$enable_music_ogg_shared = xyes && test x$ogg_lib != x; then
echo "-- dynamic libvorbisidec -> $ogg_lib"
EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
else
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec"
fi
fi
else
AC_CHECK_HEADER([vorbis/vorbisfile.h], [have_ogg_hdr=yes])
AC_CHECK_LIB([vorbisfile], [ov_open_callbacks], [have_ogg_lib=yes])
if test x$have_ogg_hdr = xyes -a x$have_ogg_lib = xyes; then
case "$host" in
*-*-darwin*)
ogg_lib=[`find_lib libvorbisfile*.dylib`]
;;
*-*-cygwin* | *-*-mingw32*)
ogg_lib=[`find_lib "vorbisfile*dll"`]
;;
*)
ogg_lib=[`find_lib "libvorbisfile.so.[0-9]"`]
if test x$ogg_lib = x; then
ogg_lib=[`find_lib "libvorbisfile.so.[0-9]*"`]
fi
;;
esac
SOURCES="$SOURCES $srcdir/*_ogg.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_MUSIC"
if test x$enable_music_ogg_shared = xyes && test x$ogg_lib != x; then
echo "-- dynamic libvorbisfile -> $ogg_lib"
EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
else
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisfile -lvorbis -logg"
fi
May 12, 2006
May 12, 2006
317
fi
Jul 15, 2007
Jul 15, 2007
318
319
fi
fi
Oct 21, 1999
Oct 21, 1999
320
AC_ARG_ENABLE(music-mp3,
May 12, 2006
May 12, 2006
321
[ --enable-music-mp3 enable MP3 music via smpeg [[default=yes]]],
Oct 21, 1999
Oct 21, 1999
322
323
, enable_music_mp3=yes)
if test x$enable_music_mp3 = xyes; then
Apr 5, 2001
Apr 5, 2001
324
325
SMPEG_VERSION=0.4.3
AM_PATH_SMPEG($SMPEG_VERSION, have_smpeg=yes, have_smpeg=no)
Oct 21, 1999
Oct 21, 1999
326
if test x$have_smpeg = xyes; then
May 12, 2006
May 12, 2006
327
AC_ARG_ENABLE([music-mp3-shared],
May 12, 2006
May 12, 2006
328
329
AC_HELP_STRING([--enable-music-mp3-shared], [dynamically load MP3 support [[default=yes]]]),
[], [enable_music_mp3_shared=yes])
May 12, 2006
May 12, 2006
330
331
case "$host" in
*-*-darwin*)
Jul 18, 2007
Jul 18, 2007
332
smpeg_lib=[`find_lib libsmpeg*.dylib`]
May 12, 2006
May 12, 2006
333
334
;;
*-*-cygwin* | *-*-mingw32*)
Jul 18, 2007
Jul 18, 2007
335
smpeg_lib=[`find_lib "smpeg*dll"`]
May 12, 2006
May 12, 2006
336
337
;;
*)
Jul 18, 2007
Jul 18, 2007
338
339
340
341
smpeg_lib=[`find_lib "libsmpeg.so.[0-9]"`]
if test x$smpeg_lib = x; then
smpeg_lib=[`find_lib "libsmpeg.so.[0-9]*"`]
fi
May 12, 2006
May 12, 2006
342
343
;;
esac
May 12, 2006
May 12, 2006
344
SOURCES="$SOURCES $srcdir/*_mp3.c"
Apr 30, 2006
Apr 30, 2006
345
EXTRA_CFLAGS="$EXTRA_CFLAGS -DMP3_MUSIC $SMPEG_CFLAGS"
May 12, 2006
May 12, 2006
346
347
348
349
350
351
if test x$enable_music_mp3_shared = xyes && test x$smpeg_lib != x; then
echo "-- dynamic libsmpeg -> $smpeg_lib"
EXTRA_CFLAGS="$EXTRA_CFLAGS -DMP3_DYNAMIC=\\\"$smpeg_lib\\\""
else
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $SMPEG_LIBS"
fi
Oct 21, 1999
Oct 21, 1999
352
353
fi
fi
Jul 15, 2007
Jul 15, 2007
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
AC_ARG_ENABLE(music-mp3-mad-gpl,
AC_HELP_STRING([--enable-music-mp3-mad-gpl], [enable MP3 music via libmad GPL code [[default=no]]]),
[], [enable_music_mp3_mad_gpl=no])
if test x$enable_music_mp3_mad_gpl = xyes; then
AC_MSG_CHECKING(for libmad headers)
have_libmad=no
AC_TRY_COMPILE([
#include "mad.h"
],[
],[
have_libmad=yes
])
AC_MSG_RESULT($have_libmad)
if test x$have_libmad = xyes; then
SOURCES="$SOURCES $srcdir/music_mad.c"
EXTRA_CFLAGS="$EXTRA_CFLAGS -DMP3_MAD_MUSIC"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lmad"
fi
fi
Oct 21, 1999
Oct 21, 1999
373
Apr 30, 2006
Apr 30, 2006
374
OBJECTS=`echo $SOURCES | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'`
Jul 18, 2007
Jul 18, 2007
375
OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.o,g'`
Oct 21, 1999
Oct 21, 1999
376
Apr 30, 2006
Apr 30, 2006
377
378
379
380
381
382
383
384
385
dnl Expand the sources and objects needed to build the library
AC_SUBST(ac_aux_dir)
AC_SUBST(SOURCES)
AC_SUBST(OBJECTS)
AC_SUBST(BUILD_CFLAGS)
AC_SUBST(EXTRA_CFLAGS)
AC_SUBST(BUILD_LDFLAGS)
AC_SUBST(EXTRA_LDFLAGS)
AC_SUBST(EXE)
Jul 18, 2007
Jul 18, 2007
386
AC_SUBST(WINDRES)
Apr 30, 2006
Apr 30, 2006
387
388
AC_SUBST(SDL_CFLAGS)
AC_SUBST(SDL_LIBS)
Jan 26, 2003
Jan 26, 2003
389
Oct 21, 1999
Oct 21, 1999
390
AC_OUTPUT([
Apr 30, 2006
Apr 30, 2006
391
392
393
394
Makefile SDL_mixer.spec SDL_mixer.qpg
], [
: >build-deps
if test x"$MAKE" = x; then MAKE=make; fi; $MAKE depend
Oct 21, 1999
Oct 21, 1999
395
])