From 3b5c5b4df499fe80e9c60fb84d960842fc30f43a Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Thu, 16 Sep 1999 10:25:31 +0000
Subject: [PATCH] [project @ 1999-09-16 10:25:31 by sof] mingw32 support

---
 distrib/configure-bin.in | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/distrib/configure-bin.in b/distrib/configure-bin.in
index ea64cadada02..9a6aec2794a6 100644
--- a/distrib/configure-bin.in
+++ b/distrib/configure-bin.in
@@ -45,6 +45,15 @@ i[[3456]]86-*-solaris2*)
 i[[3456]]86-*-cygwin32*)
 	exeext='.exe'
 	TargetPlatform=i386-unknown-cygwin32;;
+i[[3456]]86-*-mingw32*)
+	exeext='.exe'
+	# We assume you're using mingw32 via the gcc that comes
+	# with cygwin, and not the native port, so let's augment
+	# the gcc command-line used here with -mno-cygwin to
+	# arrange for good things to happen.
+	CFLAGS="-mno-cygwin $CFLAGS"
+	TargetPlatform=i386-unknown-mingw32
+	;;
 m68k-next-nextstep2)
 	TargetPlatform=m68k-next-nextstep2;;
 m68k-next-nextstep3)
-- 
GitLab