From: sof Date: Tue, 26 Jan 1999 09:59:19 +0000 (+0000) Subject: [project @ 1999-01-26 09:59:18 by sof] X-Git-Tag: Approximately_9120_patches~6689 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=ca392637df83efdce9c51dc3f467d382842c0dfb [project @ 1999-01-26 09:59:18 by sof] Prepared to support i?86-*-mingw32 --- diff --git a/aclocal.m4 b/aclocal.m4 index 1e01c26..b442a35 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 c697467..e75bb05 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 2454c91..9124666 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'