Fixed building with modplug support.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 04 Feb 2010 05:01:02 +0000
changeset 483685cb4a41b92
parent 482 7b0c54eed938
child 484 a77df8583d18
Fixed building with modplug support.
configure.in
music.c
     1.1 --- a/configure.in	Tue Jan 05 19:46:55 2010 +0000
     1.2 +++ b/configure.in	Thu Feb 04 05:01:02 2010 +0000
     1.3 @@ -315,6 +315,7 @@
     1.4  dnl    ],[
     1.5  dnl    ],[
     1.6      have_libmodplug=yes
     1.7 +    SOURCES="$SOURCES $srcdir/music_modplug.c"
     1.8  dnl    ])
     1.9  else
    1.10  	have_libmodplug=no
     2.1 --- a/music.c	Tue Jan 05 19:46:55 2010 +0000
     2.2 +++ b/music.c	Thu Feb 04 05:01:02 2010 +0000
     2.3 @@ -322,8 +322,6 @@
     2.4  #endif
     2.5  #ifdef MODPLUG_MUSIC
     2.6  	if ( modplug_init(mixer) < 0 ) {
     2.7 -		++music_error;
     2.8 -	} else {
     2.9  		add_music_decoder("MODPLUG");
    2.10  	}
    2.11  #endif