configury: replace host checks against *-*-mingw32* with *-*-mingw*
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
diff --git a/configure b/configure
index 2402fa7..737d9df 100755
--- a/configure
+++ b/configure
@@ -15980,7 +15980,7 @@ $as_echo "no" >&6; }
fi
case "$host" in
- *-*-mingw32*)
+ *-*-mingw*)
# Except on msys, where make can't handle full pathnames (bug 1972)
;;
*)
@@ -16666,7 +16666,7 @@ $as_echo "#define HAVE_M_PI /**/" >>confdefs.h
case "$host" in
- *-*-cygwin* | *-*-mingw32*)
+ *-*-cygwin* | *-*-mingw*)
;;
*)
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
@@ -24518,7 +24518,7 @@ fi
require_hidapi_libusb=yes
;;
# RAWINPUT is only available on Win32, but can be enabled if HIDAPI is
- *-*-cygwin* | *-*-mingw32*)
+ *-*-cygwin* | *-*-mingw*)
enable_joystick_rawinput=yes
;;
esac
@@ -24640,7 +24640,7 @@ $as_echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic li
*-*-darwin* )
libusb_lib="libusb-1.0.0.dylib"
;;
- *-*-cygwin* | *-*-mingw32* )
+ *-*-cygwin* | *-*-mingw* )
libusb_lib="libusb-1.0.dll"
;;
esac
@@ -25114,7 +25114,7 @@ $as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/core/linux/SDL_threadprio.c"
SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
;;
- *-*-cygwin* | *-*-mingw32*)
+ *-*-cygwin* | *-*-mingw*)
ARCH=win32
if test "$build" != "$host"; then # cross-compiling
# Default cross-compile location
diff --git a/configure.ac b/configure.ac
index cad9674..0c27370 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,7 @@ PKG_PROG_PKG_CONFIG
dnl Make sure that srcdir is a full pathname
case "$host" in
- *-*-mingw32*)
+ *-*-mingw*)
# Except on msys, where make can't handle full pathnames (bug 1972)
;;
*)
@@ -321,7 +321,7 @@ if test x$enable_libc = xyes; then
dnl Checks for library functions.
case "$host" in
- *-*-cygwin* | *-*-mingw32*)
+ *-*-cygwin* | *-*-mingw*)
;;
*)
AC_FUNC_ALLOCA
@@ -3418,7 +3418,7 @@ AS_HELP_STRING([--enable-hidapi-libusb], [use libusb for low level joystick driv
require_hidapi_libusb=yes
;;
# RAWINPUT is only available on Win32, but can be enabled if HIDAPI is
- *-*-cygwin* | *-*-mingw32*)
+ *-*-cygwin* | *-*-mingw*)
enable_joystick_rawinput=yes
;;
esac
@@ -3458,7 +3458,7 @@ AS_HELP_STRING([--enable-hidapi-libusb], [use libusb for low level joystick driv
*-*-darwin* )
libusb_lib="libusb-1.0.0.dylib"
;;
- *-*-cygwin* | *-*-mingw32* )
+ *-*-cygwin* | *-*-mingw* )
libusb_lib="libusb-1.0.dll"
;;
esac
@@ -3795,7 +3795,7 @@ case "$host" in
SOURCES="$SOURCES $srcdir/src/core/linux/SDL_threadprio.c"
SOURCES="$SOURCES $srcdir/src/core/unix/*.c"
;;
- *-*-cygwin* | *-*-mingw32*)
+ *-*-cygwin* | *-*-mingw*)
ARCH=win32
if test "$build" != "$host"; then # cross-compiling
# Default cross-compile location
diff --git a/test/configure b/test/configure
index 312e648..4f3793b 100755
--- a/test/configure
+++ b/test/configure
@@ -2899,7 +2899,7 @@ ISWINDOWS="false"
ISMACOSX="false"
case "$host" in
- *-*-cygwin* | *-*-mingw32*)
+ *-*-cygwin* | *-*-mingw*)
ISWINDOWS="true"
EXE=".exe"
MATHLIB=""
diff --git a/test/configure.ac b/test/configure.ac
index 6efa7e1..a22e1a9 100644
--- a/test/configure.ac
+++ b/test/configure.ac
@@ -21,7 +21,7 @@ ISMACOSX="false"
dnl Figure out which math library to use
case "$host" in
- *-*-cygwin* | *-*-mingw32*)
+ *-*-cygwin* | *-*-mingw*)
ISWINDOWS="true"
EXE=".exe"
MATHLIB=""