aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Lipe <robertl@dgii.com>1998-01-13 00:12:01 +0000
committerJeff Law <law@gcc.gnu.org>1998-01-12 17:12:01 -0700
commit936cb323452eab0717bca1231c6d14ec92841f35 (patch)
tree57b01093b5ca5d98ed23b16738c7901743f76e6e
parent23092526592bf79daecc9ef77a368f0ab08bfbb5 (diff)
downloadgcc-936cb323452eab0717bca1231c6d14ec92841f35.zip
gcc-936cb323452eab0717bca1231c6d14ec92841f35.tar.gz
gcc-936cb323452eab0717bca1231c6d14ec92841f35.tar.bz2
* config.guess: Recognize i[3456]-i586-UnixWare7-sysv5.
From-SVN: r17322
-rw-r--r--ChangeLog4
-rwxr-xr-xconfig.guess9
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7410ce6..c348e6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jan 13 01:13:24 1998 Robert Lipe (robertl@dgii.com)
+
+ * config.guess: Recognize i[3456]-i586-UnixWare7-sysv5.
+
Sun Jan 4 01:06:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
* config.sub: Add mingw32 support.
diff --git a/config.guess b/config.guess
index 06decad..687adc2 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-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
@@ -667,6 +667,13 @@ EOF
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
fi
exit 0 ;;
+ i?86:*:5:7)
+ UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
+ (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
+ (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
+ && UNAME_MACHINE=i586
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEASE}
+ exit 0 ;;
i?86:*:3.2:*)
if test -f /usr/options/cb.name; then
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`