summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@cygnus.com>1998-01-28 18:01:29 +0000
committerIan Lance Taylor <ian@cygnus.com>1998-01-28 18:01:29 +0000
commit93aca356d21b38526e56264f2636e1dd11eefef9 (patch)
tree219608bde9a3ce807dd98afe7ac4f1344526a905 /config.guess
parentd9fd228d4d8938bbb3551ffcb5c6ff2ca107f777 (diff)
downloademacs-93aca356d21b38526e56264f2636e1dd11eefef9.tar.gz
Use ${UNAME_MACHINE} rather than i386 for cygwin32 and mingw32.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.guess b/config.guess
index 413ed41c0f5..b4bd35d6c2a 100755
--- a/config.guess
+++ b/config.guess
@@ -1,6 +1,6 @@
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -478,10 +478,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