[project @ 1999-01-26 09:59:18 by sof]
authorsof <unknown>
Tue, 26 Jan 1999 09:59:19 +0000 (09:59 +0000)
committersof <unknown>
Tue, 26 Jan 1999 09:59:19 +0000 (09:59 +0000)
Prepared to support i?86-*-mingw32

aclocal.m4
config.sub
configure.in

index 1e01c26..b442a35 100644 (file)
@@ -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
index c697467..e75bb05 100644 (file)
@@ -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
index 2454c91..9124666 100644 (file)
@@ -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'