configure.in
changeset 257 8a32c0a3c609
parent 255 16119b6dc45a
child 284 d7f32c4e340e
     1.1 --- a/configure.in	Tue Dec 21 20:08:57 2004 +0000
     1.2 +++ b/configure.in	Mon Dec 27 06:52:47 2004 +0000
     1.3 @@ -99,19 +99,18 @@
     1.4  if test x$enable_music_wave = xyes; then
     1.5      CFLAGS="$CFLAGS -DWAV_MUSIC"
     1.6  fi
     1.7 -no_libmikmod=no
     1.8 +no_libmikmod=yes
     1.9  libmikmod_maj=3
    1.10  libmikmod_min=1
    1.11  libmikmod_rev=10
    1.12  libmikmod_ver="$libmikmod_maj.$libmikmod_min.$libmikmod_rev"
    1.13  AC_ARG_ENABLE(music-libmikmod,
    1.14 -[  --enable-music-libmikmod  enable MOD music via externl libmikmod [default=yes]],
    1.15 -              , enable_music_libmikmod=yes)
    1.16 +[  --enable-music-libmikmod  enable MOD music via external libmikmod [default=no]],
    1.17 +              , enable_music_libmikmod=no)
    1.18  if test x$enable_music_libmikmod = xyes; then
    1.19  	AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config, no, [$PATH])
    1.20 -	if test "$LIBMIKMOD_CONFIG" = "no" ; then
    1.21 -		no_libmikmod=yes
    1.22 -	else
    1.23 +	if test "$LIBMIKMOD_CONFIG" != "no" ; then
    1.24 +		no_libmikmod=no
    1.25  		CFLAGS_SAVED="$CFLAGS"
    1.26  		LIBS_SAVED="$LIBS"
    1.27  		CFLAGS="$CFLAGS -DLIBMIKMOD_MUSIC `$LIBMIKMOD_CONFIG --cflags`"
    1.28 @@ -132,7 +131,7 @@
    1.29  	printf("no\n*** libmikmod is older than %d.%d.%d, not using.\n",maj,min,rev);
    1.30  	return 1;
    1.31  }
    1.32 -],, no_libmikmod=yes;CFLAGS="$CFLAGS_SAVED";LIBS="$LIBS_SAVED",
    1.33 +],,CFLAGS="$CFLAGS_SAVED";LIBS="$LIBS_SAVED",
    1.34  [echo $ac_n "cross compiling; assumed OK... $ac_c"])
    1.35  	fi
    1.36  fi