SDL_mixer configure bug patch (double music_modplug.o linking)
authorSam Lantinga <slouken@libsdl.org>
Thu, 15 Apr 2010 07:19:18 -0700
changeset 48908eaf23a2284
parent 488 94b190330355
child 490 6ed75d34edc9
SDL_mixer configure bug patch (double music_modplug.o linking)

Jon Atkins to Sam

Sam,

was playing with the new hg repo of SDL_mixer and had trouble with the mad music configure option adding the modplug source when it shouldn't!
here's the hg diff for the fix.

-- Jon
configure.in
     1.1 --- a/configure.in	Tue Apr 13 22:30:19 2010 -0700
     1.2 +++ b/configure.in	Thu Apr 15 07:19:18 2010 -0700
     1.3 @@ -579,7 +579,6 @@
     1.4          SOURCES="$SOURCES $srcdir/music_mad.c"
     1.5          EXTRA_CFLAGS="$EXTRA_CFLAGS -DMP3_MAD_MUSIC"
     1.6          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lmad"
     1.7 -        SOURCES="$SOURCES $srcdir/music_modplug.c"
     1.8      else
     1.9          AC_MSG_WARN([*** Unable to find MAD library (http://www.underbit.com/products/mad/)])
    1.10      fi