configure.in
changeset 289 e893c155075b
parent 284 d7f32c4e340e
child 294 58eb208474e0
     1.1 --- a/configure.in	Thu Feb 02 06:26:39 2006 +0000
     1.2 +++ b/configure.in	Sun Mar 19 05:35:17 2006 +0000
     1.3 @@ -36,8 +36,8 @@
     1.4  AC_SUBST(LT_REVISION)
     1.5  AC_SUBST(LT_AGE)
     1.6  
     1.7 -dnl Detect the canonical host and target build environment
     1.8 -AC_CANONICAL_SYSTEM
     1.9 +dnl Detect the canonical build and host environments
    1.10 +AC_CANONICAL_HOST
    1.11  
    1.12  dnl Setup for automake
    1.13  AM_INIT_AUTOMAKE(SDL_mixer, $VERSION)
    1.14 @@ -51,7 +51,7 @@
    1.15  AC_PROG_INSTALL
    1.16  
    1.17  dnl The alpha architecture needs special flags for binary portability
    1.18 -case "$target" in
    1.19 +case "$host" in
    1.20      alpha*-*-linux*)
    1.21          CFLAGS="$CFLAGS -mcpu=ev4 -Wa,-mall"
    1.22          ;;
    1.23 @@ -59,7 +59,7 @@
    1.24          ac_default_prefix=/boot/develop/tools/gnupro
    1.25          ;;
    1.26      *-*-cygwin* | *-*-mingw32*)
    1.27 -        if test "$build" != "$target"; then # cross-compiling
    1.28 +        if test "$build" != "$host"; then # cross-compiling
    1.29              # Default cross-compile location
    1.30              ac_default_prefix=/usr/local/cross-tools/i386-mingw32msvc
    1.31          else
    1.32 @@ -160,7 +160,7 @@
    1.33                    , enable_music_native_midi=yes)
    1.34      if test x$enable_music_native_midi = xyes; then
    1.35          use_music_native_midi=no
    1.36 -        case "$target" in
    1.37 +        case "$host" in
    1.38              *-*-cygwin* | *-*-mingw32*)
    1.39                  use_music_native_midi=yes
    1.40                  SYSTEM_LIBS="$SYSTEM_LIBS -lwinmm"
    1.41 @@ -180,7 +180,7 @@
    1.42                    , enable_music_native_midi_gpl=no)
    1.43      if test x$enable_music_native_midi_gpl = xyes; then
    1.44          use_music_native_midi_gpl=no
    1.45 -        case "$target" in
    1.46 +        case "$host" in
    1.47              *-*-linux* | *-*-freebsd*)
    1.48                  use_music_native_midi_gpl=yes
    1.49                  ;;