configury: replace host checks against *-*-mingw32* with *-*-mingw*

main
Ozkan Sezer 2021-02-18 20:10:50 +03:00
parent c4b7e485af
commit a29fe29296
4 changed files with 12 additions and 12 deletions

10
configure vendored
View File

@ -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

View File

@ -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

2
test/configure vendored
View File

@ -2899,7 +2899,7 @@ ISWINDOWS="false"
ISMACOSX="false"
case "$host" in
*-*-cygwin* | *-*-mingw32*)
*-*-cygwin* | *-*-mingw*)
ISWINDOWS="true"
EXE=".exe"
MATHLIB=""

View File

@ -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=""