summaryrefslogtreecommitdiff
path: root/gcc/config.guess
diff options
context:
space:
mode:
authorkwzh <kwzh@138bc75d-0d04-0410-961f-82ee72b054a4>1995-01-24 00:46:11 +0000
committerkwzh <kwzh@138bc75d-0d04-0410-961f-82ee72b054a4>1995-01-24 00:46:11 +0000
commit7f002481b539b4cf9f4e92d20492fafed05b000a (patch)
treeeebaf2c181da35546c715bd5509eac2aef3010ab /gcc/config.guess
parent3aac23f970f0728c699b0924274069cb825575af (diff)
downloadgcc-7f002481b539b4cf9f4e92d20492fafed05b000a.tar.gz
(i[34]86:*:3.2:*): Test for ISC before SCO; newer ISC releases have uname -X.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8791 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.guess')
-rwxr-xr-xgcc/config.guess8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config.guess b/gcc/config.guess
index 310842e050d..10d7100737f 100755
--- a/gcc/config.guess
+++ b/gcc/config.guess
@@ -306,13 +306,13 @@ EOF
fi
exit 0 ;;
i[34]86:*:3.2:*)
- if /bin/uname -X 2>/dev/null >/dev/null ; then
+ if test -f /usr/options/cb.name; then
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL
- elif test -f /usr/options/cb.name; then
- UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
- echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL
else
echo ${UNAME_MACHINE}-unknown-sysv32
fi