SDL_rtf: configury: replace host checks against *-*-mingw32* with *-*-mingw* (3d0ca)

From 3d0cab297030cec9c6f079a9f717b3b9fe0f1a89 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 18 Feb 2021 20:03:02 +0300
Subject: [PATCH] configury: replace host checks against *-*-mingw32* with
 *-*-mingw*

---
 configure    | 10 +++++-----
 configure.in |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/configure b/configure
index 6fb17d0..d6735c0 100755
--- a/configure
+++ b/configure
@@ -11569,7 +11569,7 @@ case "$host" in
     *-*-beos*)
         ac_default_prefix=/boot/develop/tools/gnupro
         ;;
-    *-*-cygwin* | *-*-mingw32*)
+    *-*-cygwin* | *-*-mingw*)
         if test "$build" != "$host"; then # cross-compiling
             # Default cross-compile location
             ac_default_prefix=/usr/local/cross-tools/$host
@@ -12215,12 +12215,12 @@ $as_echo "yes" >&6; }
 	have_SDL_ttf=yes
 fi
     if test x$have_SDL_ttf != xyes; then
-        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can't find the SDL_ttf library - not building showrtf
-The SDL_ttf library can be found at:
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can't find the SDL2_ttf library - not building showrtf
+The SDL2_ttf library can be found at:
 http://www.libsdl.org/projects/SDL_ttf/
 " >&5
-$as_echo "$as_me: WARNING: *** Can't find the SDL_ttf library - not building showrtf
-The SDL_ttf library can be found at:
+$as_echo "$as_me: WARNING: *** Can't find the SDL2_ttf library - not building showrtf
+The SDL2_ttf library can be found at:
 http://www.libsdl.org/projects/SDL_ttf/
 " >&2;}
     fi
diff --git a/configure.in b/configure.in
index 6221b34..4fee02b 100644
--- a/configure.in
+++ b/configure.in
@@ -60,7 +60,7 @@ case "$host" in
     *-*-beos*)
         ac_default_prefix=/boot/develop/tools/gnupro
         ;;
-    *-*-cygwin* | *-*-mingw32*)
+    *-*-cygwin* | *-*-mingw*)
         if test "$build" != "$host"; then # cross-compiling
             # Default cross-compile location
             ac_default_prefix=/usr/local/cross-tools/$host
@@ -95,8 +95,8 @@ if test x$enable_SDL_ttf = xyes; then
         AC_CHECK_LIB([SDL2_ttf],[TTF_Init],[have_SDL_ttf=yes; SDLTTF_LIBS="-lSDL2_ttf"],[],[])
     ])
     if test x$have_SDL_ttf != xyes; then
-        AC_MSG_WARN([*** Can't find the SDL_ttf library - not building showrtf
-The SDL_ttf library can be found at:
+        AC_MSG_WARN([*** Can't find the SDL2_ttf library - not building showrtf
+The SDL2_ttf library can be found at:
 http://www.libsdl.org/projects/SDL_ttf/
 ])
     fi