config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32 and mingw32.

* config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32
        and mingw32.
Bring over from devo.

From-SVN: r19686
This commit is contained in:
Ian Lance Taylor 1998-05-11 22:36:06 +00:00 committed by Jeff Law
parent 337eb77305
commit 0aadd65786
2 changed files with 7 additions and 2 deletions

View File

@ -93,6 +93,11 @@ Sun Feb 1 02:40:41 1998 Richard Henderson <rth@cygnus.com>
(all-target-libf2c): Add dependences.
* configure.in (target_libs): Add libf2c.
Wed Jan 28 12:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
* config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32
and mingw32.
Wed Jan 28 10:26:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (BASE_FLAGS_TO_PASS): Remove passing $(local_prefix)

4
config.guess vendored
View File

@ -483,10 +483,10 @@ EOF
echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
i*:CYGWIN*:*)
echo i386-pc-cygwin32
echo ${UNAME_MACHINE}-pc-cygwin32
exit 0 ;;
i*:MINGW*:*)
echo i386-pc-mingw32
echo ${UNAME_MACHINE}-pc-mingw32
exit 0 ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin32