* Improved detection of Ogg Vorbis and Tremor libraries
authorSam Lantinga <slouken@libsdl.org>
Wed, 18 Jul 2007 16:58:37 +0000
changeset 368e61c4fb262bd
parent 367 352578e23cb7
child 369 5f98121182be
* Improved detection of Ogg Vorbis and Tremor libraries
* Added version.rc to the Windows build
CHANGES
Makefile.in
build-scripts/makedep.sh
configure.in
version.rc
     1.1 --- a/CHANGES	Wed Jul 18 16:45:41 2007 +0000
     1.2 +++ b/CHANGES	Wed Jul 18 16:58:37 2007 +0000
     1.3 @@ -1,4 +1,6 @@
     1.4  1.2.8:
     1.5 +Sam Lantinga - Wed Jul 18 09:45:54 PDT 2007
     1.6 + * Improved detection of Ogg Vorbis and Tremor libraries
     1.7  Ryan Gordon - Sun Jul 15 12:03:54 EDT 2007
     1.8   * Fixed memory leaks in Effects API.
     1.9  David Rose - Sat Jul 14 22:16:09 PDT 2007
     2.1 --- a/Makefile.in	Wed Jul 18 16:45:41 2007 +0000
     2.2 +++ b/Makefile.in	Wed Jul 18 16:58:37 2007 +0000
     2.3 @@ -28,6 +28,7 @@
     2.4  INSTALL = @INSTALL@
     2.5  AR	= @AR@
     2.6  RANLIB	= @RANLIB@
     2.7 +WINDRES	= @WINDRES@
     2.8  SDL_CFLAGS = @SDL_CFLAGS@
     2.9  SDL_LIBS = @SDL_LIBS@
    2.10  
    2.11 @@ -35,7 +36,7 @@
    2.12  SOURCES = @SOURCES@
    2.13  OBJECTS = @OBJECTS@
    2.14  
    2.15 -DIST = CHANGES COPYING CWProjects.sea.bin MPWmake.sea.bin Makefile.in README SDL_mixer.h SDL_mixer.qpg.in SDL_mixer.spec SDL_mixer.spec.in VisualC.zip Watcom-OS2.zip Xcode.tar.gz acinclude autogen.sh build-scripts configure configure.in dynamic_mp3.c dynamic_mp3.h dynamic_ogg.c dynamic_ogg.h effect_position.c effect_stereoreverse.c effects_internal.c effects_internal.h gcc-fat.sh load_aiff.c load_aiff.h load_ogg.c load_ogg.h load_voc.c load_voc.h mikmod mixer.c music.c music_cmd.c music_cmd.h music_mad.c music_mad.h music_ogg.c music_ogg.h native_midi native_midi_gpl playmus.c playwave.c timidity wavestream.c wavestream.h
    2.16 +DIST = CHANGES COPYING CWProjects.sea.bin MPWmake.sea.bin Makefile.in README SDL_mixer.h SDL_mixer.qpg.in SDL_mixer.spec SDL_mixer.spec.in VisualC.zip Watcom-OS2.zip Xcode.tar.gz acinclude autogen.sh build-scripts configure configure.in dynamic_mp3.c dynamic_mp3.h dynamic_ogg.c dynamic_ogg.h effect_position.c effect_stereoreverse.c effects_internal.c effects_internal.h gcc-fat.sh load_aiff.c load_aiff.h load_ogg.c load_ogg.h load_voc.c load_voc.h mikmod mixer.c music.c music_cmd.c music_cmd.h music_mad.c music_mad.h music_ogg.c music_ogg.h native_midi native_midi_gpl playmus.c playwave.c timidity wavestream.c wavestream.h version.rc
    2.17  
    2.18  LT_AGE      = @LT_AGE@
    2.19  LT_CURRENT  = @LT_CURRENT@
     3.1 --- a/build-scripts/makedep.sh	Wed Jul 18 16:45:41 2007 +0000
     3.2 +++ b/build-scripts/makedep.sh	Wed Jul 18 16:58:37 2007 +0000
     3.3 @@ -41,7 +41,11 @@
     3.4  for src in $SOURCES
     3.5  do  echo "Generating dependencies for $src"
     3.6      ext=`echo $src | sed 's|.*\.\(.*\)|\1|'`
     3.7 -    obj=`echo $src | sed "s|^.*/\([^ ]*\)\..*|\1.lo|g"`
     3.8 +    if test x"$ext" = x"rc"; then
     3.9 +        obj=`echo $src | sed "s|^.*/\([^ ]*\)\..*|\1.o|g"`
    3.10 +    else
    3.11 +        obj=`echo $src | sed "s|^.*/\([^ ]*\)\..*|\1.lo|g"`
    3.12 +    fi
    3.13      echo "\$(objects)/$obj: $src \\" >>${output}.new
    3.14      search_deps $src | sort | uniq >>${output}.new
    3.15      case $ext in
    3.16 @@ -75,6 +79,12 @@
    3.17  
    3.18  __EOF__
    3.19          ;;
    3.20 +        rc) cat >>${output}.new <<__EOF__
    3.21 +
    3.22 +	\$(WINDRES) $src \$@
    3.23 +
    3.24 +__EOF__
    3.25 +        ;;
    3.26          *)   echo "Unknown file extension: $ext";;
    3.27      esac
    3.28      echo "" >>${output}.new
     4.1 --- a/configure.in	Wed Jul 18 16:45:41 2007 +0000
     4.2 +++ b/configure.in	Wed Jul 18 16:58:37 2007 +0000
     4.3 @@ -56,14 +56,15 @@
     4.4  EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS"
     4.5  BUILD_LDFLAGS="$LDFLAGS"
     4.6  EXTRA_LDFLAGS="$BASE_LDFLAGS"
     4.7 -for path in /usr/local; do
     4.8 -    if test -d $path/include; then
     4.9 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
    4.10 -    fi
    4.11 -    if test -d $path/lib; then
    4.12 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib"
    4.13 -    fi
    4.14 -done
    4.15 +## These are common directories to find software packages
    4.16 +#for path in /usr/freeware /usr/pkg /usr/local; do
    4.17 +#    if test -d $path/include; then
    4.18 +#        EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
    4.19 +#    fi
    4.20 +#    if test -d $path/lib; then
    4.21 +#        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib"
    4.22 +#    fi
    4.23 +#done
    4.24  CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS"
    4.25  CFLAGS="$CFLAGS $EXTRA_CFLAGS"
    4.26  LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
    4.27 @@ -72,18 +73,34 @@
    4.28  AC_LIBTOOL_WIN32_DLL
    4.29  AC_PROG_LIBTOOL
    4.30  AC_PROG_CC
    4.31 -AC_PROG_CXX
    4.32  AC_PROG_INSTALL
    4.33  AC_PROG_MAKE_SET
    4.34 +if test -z "$host_alias"; then
    4.35 +    hostaliaswindres=
    4.36 +else
    4.37 +    hostaliaswindres="$host_alias-windres"
    4.38 +fi
    4.39 +AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
    4.40  
    4.41  dnl Check for compiler characteristics
    4.42  AC_C_CONST
    4.43  
    4.44  case "$host" in
    4.45      *-*-cygwin* | *-*-mingw32*)
    4.46 +        SOURCES="$srcdir/version.rc"
    4.47          EXE=".exe"
    4.48 +        if test "$build" != "$host"; then # cross-compiling
    4.49 +            # Default cross-compile location
    4.50 +            ac_default_prefix=/usr/local/cross-tools/i386-mingw32
    4.51 +        else
    4.52 +            # Look for the location of the tools and install there
    4.53 +            if test "$BUILD_PREFIX" != ""; then
    4.54 +                ac_default_prefix=$BUILD_PREFIX
    4.55 +            fi
    4.56 +        fi
    4.57          ;;
    4.58      *)
    4.59 +        SOURCES=""
    4.60          EXE=""
    4.61          ;;
    4.62  esac
    4.63 @@ -98,11 +115,24 @@
    4.64  $srcdir/mixer.c \
    4.65  $srcdir/music.c"
    4.66  
    4.67 +find_lib()
    4.68 +{
    4.69 +    gcc_lib_path=[`$CC -print-search-dirs 2>/dev/null | fgrep libraries | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`]
    4.70 +    env_lib_path=[`echo $LIBS $LDFLAGS | sed 's/-L[ ]*//g'`]
    4.71 +    for path in $gcc_lib_path $env_lib_path /usr/lib /usr/local/lib; do
    4.72 +        lib=[`ls -- $path/$1 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    4.73 +        if test x$lib != x; then
    4.74 +            echo $lib
    4.75 +            return
    4.76 +        fi
    4.77 +    done
    4.78 +}
    4.79 +
    4.80  dnl Check for SDL
    4.81  SDL_VERSION=1.2.10
    4.82  AM_PATH_SDL($SDL_VERSION,
    4.83              :,
    4.84 -	    AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
    4.85 +            AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
    4.86  )
    4.87  EXTRA_CFLAGS="$EXTRA_CFLAGS $SDL_CFLAGS"
    4.88  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $SDL_LIBS"
    4.89 @@ -132,32 +162,32 @@
    4.90  AC_HELP_STRING([--enable-music-libmikmod], [enable MOD music via external libmikmod [[default=no]]]),
    4.91                [], [enable_music_libmikmod=no])
    4.92  if test x$enable_music_libmikmod = xyes; then
    4.93 -	AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config, no, [$PATH])
    4.94 -	if test "$LIBMIKMOD_CONFIG" != "no" ; then
    4.95 -		no_libmikmod=no
    4.96 -		CFLAGS_SAVED="$CFLAGS"
    4.97 -		LIBS_SAVED="$LIBS"
    4.98 -		CFLAGS="$CFLAGS -DLIBMIKMOD_MUSIC `$LIBMIKMOD_CONFIG --cflags`"
    4.99 -		LIBS="$LIBS `$LIBMIKMOD_CONFIG --libs`"
   4.100 -		AC_MSG_CHECKING([for libmikmod - version >= $libmikmod_ver])
   4.101 -		AC_TRY_RUN([
   4.102 +    AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config, no, [$PATH])
   4.103 +    if test "$LIBMIKMOD_CONFIG" != "no" ; then
   4.104 +        no_libmikmod=no
   4.105 +        CFLAGS_SAVED="$CFLAGS"
   4.106 +        LIBS_SAVED="$LIBS"
   4.107 +        CFLAGS="$CFLAGS -DLIBMIKMOD_MUSIC `$LIBMIKMOD_CONFIG --cflags`"
   4.108 +        LIBS="$LIBS `$LIBMIKMOD_CONFIG --libs`"
   4.109 +        AC_MSG_CHECKING([for libmikmod - version >= $libmikmod_ver])
   4.110 +        AC_TRY_RUN([
   4.111  #include "mikmod.h"
   4.112  #include "stdio.h"
   4.113  
   4.114  int main(int argc, char **argv)
   4.115  {
   4.116 -	long maj=$libmikmod_maj,min=$libmikmod_min,rev=$libmikmod_rev,ver=MikMod_GetVersion();
   4.117 -	/*printf("(%d.%d.%d) ",ver>>16,(ver>>8)&0xff,ver&0xff);*/
   4.118 -	if(ver>=((maj<<16)|(min<<8)|(rev))) {
   4.119 -		printf("yes\n");
   4.120 -		return 0;
   4.121 -	}
   4.122 -	printf("no\n*** libmikmod is older than %d.%d.%d, not using.\n",maj,min,rev);
   4.123 -	return 1;
   4.124 +    long maj=$libmikmod_maj,min=$libmikmod_min,rev=$libmikmod_rev,ver=MikMod_GetVersion();
   4.125 +    /*printf("(%d.%d.%d) ",ver>>16,(ver>>8)&0xff,ver&0xff);*/
   4.126 +    if(ver>=((maj<<16)|(min<<8)|(rev))) {
   4.127 +        printf("yes\n");
   4.128 +        return 0;
   4.129 +    }
   4.130 +    printf("no\n*** libmikmod is older than %d.%d.%d, not using.\n",maj,min,rev);
   4.131 +    return 1;
   4.132  }
   4.133  ], EXTRA_CFLAGS="$EXTRA_CFLAGS -DLIBMIKMOD_MUSIC `$LIBMIKMOD_CONFIG --cflags`";EXTRA_LDFLAGS="$EXTRA_LDFLAGS `$LIBMIKMOD_CONFIG --libs`", CFLAGS="$CFLAGS_SAVED";LIBS="$LIBS_SAVED",
   4.134  [echo $ac_n "cross compiling; assumed OK... $ac_c"])
   4.135 -	fi
   4.136 +    fi
   4.137  fi
   4.138  
   4.139  AC_ARG_ENABLE([music-mod],
   4.140 @@ -218,67 +248,73 @@
   4.141  AC_ARG_ENABLE([music-ogg],
   4.142  AC_HELP_STRING([--enable-music-ogg], [enable Ogg Vorbis music [[default=yes]]]),
   4.143                [], [enable_music_ogg=yes])
   4.144 -if test x$enable_music_ogg = xyes; then
   4.145 -    AC_MSG_CHECKING(for Ogg Vorbis headers and libraries)
   4.146 -    have_vorbis=no
   4.147 -    AC_TRY_COMPILE([
   4.148 -     #include <vorbis/vorbisfile.h>
   4.149 -    ],[
   4.150 -    ],[
   4.151 -    have_vorbis=yes
   4.152 -    ])
   4.153 -    AC_MSG_RESULT($have_vorbis)
   4.154 -    if test x$have_vorbis = xyes; then
   4.155 -        AC_ARG_ENABLE([music-ogg-shared],
   4.156 -AC_HELP_STRING([--enable-music-ogg-shared], [dynamically load Ogg Vorbis support [[default=yes]]]),
   4.157 -                      [], [enable_music_ogg_shared=yes])
   4.158 -        case "$host" in
   4.159 -            *-*-darwin*)
   4.160 -                for path in /usr/lib /usr/local/lib; do
   4.161 -                    if test x$ogg_lib = x; then
   4.162 -                        ogg_lib=[`ls -- $path/libvorbisfile.[0-9].dylib 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
   4.163 -                    fi
   4.164 -                done
   4.165 -                ;;
   4.166 -            *-*-cygwin* | *-*-mingw32*)
   4.167 -                ogg_lib='vorbisfile.dll'
   4.168 -                ;;
   4.169 -            *)
   4.170 -                for path in /usr/lib /usr/local/lib; do
   4.171 -                    if test x$ogg_lib = x; then
   4.172 -                        ogg_lib=[`ls -- $path/libvorbisfile.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
   4.173 -                    fi
   4.174 -                done
   4.175 -                ;;
   4.176 -        esac
   4.177 -        SOURCES="$SOURCES $srcdir/*_ogg.c"
   4.178 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_MUSIC"
   4.179 -        if test x$enable_music_ogg_shared = xyes && test x$ogg_lib != x; then
   4.180 -            echo "-- dynamic libvorbisfile -> $ogg_lib"
   4.181 -            EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
   4.182 -        else
   4.183 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisfile -lvorbis -logg"
   4.184 -        fi
   4.185 -    fi
   4.186 -fi
   4.187  AC_ARG_ENABLE(music-ogg-tremor,
   4.188  [  --enable-music-ogg-tremor   enable OGG music via libtremor [[default=no]]],
   4.189 -	      , enable_music_ogg_tremor=no)
   4.190 -if test x$enable_music_ogg_tremor = xyes; then
   4.191 -    AC_MSG_CHECKING(for libtremor headers)
   4.192 -    have_tremor=no
   4.193 -    AC_TRY_COMPILE([
   4.194 -     #include <tremor/ivorbiscodec.h>
   4.195 -     #include <tremor/ivorbisfile.h>
   4.196 -    ],[
   4.197 -    ],[
   4.198 -    have_tremor=yes
   4.199 -    ])
   4.200 -    AC_MSG_RESULT($have_tremor)
   4.201 -    if test x$have_tremor = xyes; then
   4.202 -        SOURCES="$SOURCES $srcdir/*_ogg.c"
   4.203 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_MUSIC -DOGG_USE_TREMOR"
   4.204 -	EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec"
   4.205 +              [], enable_music_ogg_tremor=no)
   4.206 +AC_ARG_ENABLE([music-ogg-shared],
   4.207 +AC_HELP_STRING([--enable-music-ogg-shared], [dynamically load Ogg Vorbis support [[default=yes]]]),
   4.208 +              [], [enable_music_ogg_shared=yes])
   4.209 +if test x$enable_music_ogg = xyes; then
   4.210 +    if test x$enable_music_ogg_tremor = xyes; then
   4.211 +        AC_CHECK_HEADER([tremor/ivorbisfile.h], [have_tremor_hdr=yes])
   4.212 +        AC_CHECK_LIB([vorbisidec], [ov_open_callbacks], [have_tremor_lib=yes])
   4.213 +        if test x$have_tremor_hdr = xyes -a x$have_tremor_lib = xyes; then
   4.214 +            case "$host" in
   4.215 +                *-*-darwin*)
   4.216 +                    ogg_lib=[`find_lib libvorbisidec*.dylib`]
   4.217 +                    if test x$ogg_lib = x; then
   4.218 +                        ogg_lib=[`find_lib libvorbisidec.[0-9]`]
   4.219 +                    fi
   4.220 +                    if test x$ogg_lib = x; then
   4.221 +                        ogg_lib=[`find_lib libvorbisidec.[0-9]*`]
   4.222 +                    fi
   4.223 +                    ;;
   4.224 +                *-*-cygwin* | *-*-mingw32*)
   4.225 +                    ogg_lib=[`find_lib "vorbisidec*dll"`]
   4.226 +                    ;;
   4.227 +                *)
   4.228 +                    ogg_lib=[`find_lib "libvorbisidec.so.[0-9]"`]
   4.229 +                    if test x$ogg_lib = x; then
   4.230 +                        ogg_lib=[`find_lib "libvorbisidec.so.[0-9]*"`]
   4.231 +                    fi
   4.232 +                    ;;
   4.233 +            esac
   4.234 +            SOURCES="$SOURCES $srcdir/*_ogg.c"
   4.235 +            EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_MUSIC -DOGG_USE_TREMOR"
   4.236 +            if test x$enable_music_ogg_shared = xyes && test x$ogg_lib != x; then
   4.237 +                echo "-- dynamic libvorbisidec -> $ogg_lib"
   4.238 +                EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
   4.239 +            else
   4.240 +                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec"
   4.241 +            fi
   4.242 +        fi
   4.243 +    else
   4.244 +        AC_CHECK_HEADER([vorbis/vorbisfile.h], [have_ogg_hdr=yes])
   4.245 +        AC_CHECK_LIB([vorbisfile], [ov_open_callbacks], [have_ogg_lib=yes])
   4.246 +        if test x$have_ogg_hdr = xyes -a x$have_ogg_lib = xyes; then
   4.247 +            case "$host" in
   4.248 +                *-*-darwin*)
   4.249 +                    ogg_lib=[`find_lib libvorbisfile*.dylib`]
   4.250 +                    ;;
   4.251 +                *-*-cygwin* | *-*-mingw32*)
   4.252 +                    ogg_lib=[`find_lib "vorbisfile*dll"`]
   4.253 +                    ;;
   4.254 +                *)
   4.255 +                    ogg_lib=[`find_lib "libvorbisfile.so.[0-9]"`]
   4.256 +                    if test x$ogg_lib = x; then
   4.257 +                        ogg_lib=[`find_lib "libvorbisfile.so.[0-9]*"`]
   4.258 +                    fi
   4.259 +                    ;;
   4.260 +            esac
   4.261 +            SOURCES="$SOURCES $srcdir/*_ogg.c"
   4.262 +            EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_MUSIC"
   4.263 +            if test x$enable_music_ogg_shared = xyes && test x$ogg_lib != x; then
   4.264 +                echo "-- dynamic libvorbisfile -> $ogg_lib"
   4.265 +                EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
   4.266 +            else
   4.267 +                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisfile -lvorbis -logg"
   4.268 +            fi
   4.269 +        fi
   4.270      fi
   4.271  fi
   4.272  AC_ARG_ENABLE(music-mp3,
   4.273 @@ -293,21 +329,16 @@
   4.274                        [], [enable_music_mp3_shared=yes])
   4.275          case "$host" in
   4.276              *-*-darwin*)
   4.277 -                for path in /usr/lib /usr/local/lib; do
   4.278 -                    if test x$smpeg_lib = x; then
   4.279 -                        smpeg_lib=[`ls -- $path/libsmpeg*.[0-9].dylib 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
   4.280 -                    fi
   4.281 -                done
   4.282 +                smpeg_lib=[`find_lib libsmpeg*.dylib`]
   4.283                  ;;
   4.284              *-*-cygwin* | *-*-mingw32*)
   4.285 -                smpeg_lib='smpeg.dll'
   4.286 +                smpeg_lib=[`find_lib "smpeg*dll"`]
   4.287                  ;;
   4.288              *)
   4.289 -                for path in /usr/lib /usr/local/lib; do
   4.290 -                    if test x$smpeg_lib = x; then
   4.291 -                        smpeg_lib=[`ls -- $path/libsmpeg*.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
   4.292 -                    fi
   4.293 -                done
   4.294 +                smpeg_lib=[`find_lib "libsmpeg.so.[0-9]"`]
   4.295 +                if test x$smpeg_lib = x; then
   4.296 +                    smpeg_lib=[`find_lib "libsmpeg.so.[0-9]*"`]
   4.297 +                fi
   4.298                  ;;
   4.299          esac
   4.300          SOURCES="$SOURCES $srcdir/*_mp3.c"
   4.301 @@ -341,6 +372,7 @@
   4.302  fi
   4.303  
   4.304  OBJECTS=`echo $SOURCES | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'`
   4.305 +OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.o,g'`
   4.306  
   4.307  dnl Expand the sources and objects needed to build the library
   4.308  AC_SUBST(ac_aux_dir)
   4.309 @@ -351,6 +383,7 @@
   4.310  AC_SUBST(BUILD_LDFLAGS)
   4.311  AC_SUBST(EXTRA_LDFLAGS)
   4.312  AC_SUBST(EXE)
   4.313 +AC_SUBST(WINDRES)
   4.314  AC_SUBST(SDL_CFLAGS)
   4.315  AC_SUBST(SDL_LIBS)
   4.316  
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/version.rc	Wed Jul 18 16:58:37 2007 +0000
     5.3 @@ -0,0 +1,39 @@
     5.4 +#define APSTUDIO_READONLY_SYMBOLS
     5.5 +#include "afxres.h"
     5.6 +#undef APSTUDIO_READONLY_SYMBOLS
     5.7 +
     5.8 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
     5.9 +
    5.10 +/////////////////////////////////////////////////////////////////////////////
    5.11 +//
    5.12 +// Version
    5.13 +//
    5.14 +
    5.15 +VS_VERSION_INFO VERSIONINFO
    5.16 + FILEVERSION 1,2,8,0
    5.17 + PRODUCTVERSION 1,2,8,0
    5.18 + FILEFLAGSMASK 0x3fL
    5.19 + FILEFLAGS 0x0L
    5.20 + FILEOS 0x40004L
    5.21 + FILETYPE 0x2L
    5.22 + FILESUBTYPE 0x0L
    5.23 +BEGIN
    5.24 +    BLOCK "StringFileInfo"
    5.25 +    BEGIN
    5.26 +        BLOCK "040904b0"
    5.27 +        BEGIN
    5.28 +            VALUE "CompanyName", "\0"
    5.29 +            VALUE "FileDescription", "SDL_mixer\0"
    5.30 +            VALUE "FileVersion", "1, 2, 8, 0\0"
    5.31 +            VALUE "InternalName", "SDL_mixer\0"
    5.32 +            VALUE "LegalCopyright", "Copyright  2007 Sam Lantinga\0"
    5.33 +            VALUE "OriginalFilename", "SDL_mixer.dll\0"
    5.34 +            VALUE "ProductName", "Simple DirectMedia Layer\0"
    5.35 +            VALUE "ProductVersion", "1, 2, 8, 0\0"
    5.36 +        END
    5.37 +    END
    5.38 +    BLOCK "VarFileInfo"
    5.39 +    BEGIN
    5.40 +        VALUE "Translation", 0x409, 1200
    5.41 +    END
    5.42 +END