summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aclocal.m45
-rw-r--r--config.sub2
-rw-r--r--configure.in10
3 files changed, 14 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 1e01c26615..b442a35461 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,4 +1,4 @@
-dnl $Id: aclocal.m4,v 1.36 1999/01/11 10:15:04 sof Exp $
+dnl $Id: aclocal.m4,v 1.37 1999/01/26 09:59:18 sof Exp $
dnl
dnl Extra autoconf macros for the Glasgow fptools
dnl
@@ -77,7 +77,8 @@ changequote(<<, >>)dnl
<<
case $HostPlatform in
alpha-dec-osf*) fptools_cv_lead_uscore='no';;
-*cygwin32) fptools_cv_lead_uscore='yes';;
+*cygwin32) fptools_cv_lead_uscore='yes';;
+*mingw32) fptools_cv_lead_uscore='yes';;
*) >>
changequote([, ])dnl
AC_TRY_RUN([#ifdef HAVE_NLIST_H
diff --git a/config.sub b/config.sub
index c697467572..e75bb0567d 100644
--- a/config.sub
+++ b/config.sub
@@ -824,7 +824,7 @@ case $os in
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
- | -cygwin32* | -pe* | -psos*)
+ | -cygwin32* | -mingw32* | -pe* | -psos*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
# CYGNUS LOCAL
diff --git a/configure.in b/configure.in
index 2454c9141d..9124666bfe 100644
--- a/configure.in
+++ b/configure.in
@@ -159,6 +159,16 @@ i[[3456]]86-*-cygwin32*)
HostOS_CPP='cygwin32'
exeext='.exe'
;;
+i[[3456]]86-*-mingw32*)
+ HostPlatform=i386-unknown-mingw32 # hack again
+ TargetPlatform=i386-unknown-mingw32
+ BuildPlatform=i386-unknown-mingw32
+ HostPlatform_CPP='i386_unknown_mingw32'
+ HostArch_CPP='i386'
+ HostVendor_CPP='unknown'
+ HostOS_CPP='mingw32'
+ exeext='.exe'
+ ;;
m68k-next-nextstep2)
HostPlatform_CPP='m68k_next_nextstep2'
HostArch_CPP='m68k'