configure.in
author Sam Lantinga <slouken@libsdl.org>
Wed, 27 Feb 2008 07:31:03 +0000
changeset 382 50501e45c57b
parent 374 9f79d3a5eda1
child 392 c9adf3866e87
permissions -rw-r--r--
Austen Dicken - Tue Feb 26 23:28:27 PST 2008

Ok, here is the patch I made for FLAC support.

I have tested it relatively thoroughly and currently the patch allows:
1. Pre-loading FLAC files and playing them via LoadWAV
2. The patch allows for FLAC support in the LoadMUS setting as well as:
* Pause / Resume
* Volume control
* Seeking

I also did a little benchmarking by comparing memory/cpu usage of playmus to
that of mplayer, and the results were very good. playmus typically took about
half the RAM as mplayer, though that may be attributed to mplayer being a more
"bulky" program. As such I would say that the two are probably about equal in
efficiency.

Also, it is important to note that, similar to the OGG support currently
built-in, my FLAC patch only supports 16 bit stereo-encoded sound. Also, it
is only for Native FLAC (standard) and not the derivative, Ogg-FLAC.

I have tried to find a simple way to detect Ogg-FLAC files, as the only
difference between Ogg-FLAC and Native FLAC support is changing the init_
function call, but after digging a little deeper it seems that Ogg-FLAC is
basically FLAC wrapped in an Ogg transport layer, so it would be better to have
a way to read the Ogg transport layer which then reads the inner audio files
according to the proper codec.

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