diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-01-24 00:46:11 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-01-24 00:46:11 +0000 |
commit | 453827d052d2d37fb35436cd9b98d0eca0cfc190 (patch) | |
tree | dd0dd43436ebf37084645b9e1f5c45f3c2fea675 /config.guess | |
parent | ac23f1166d985b5335621893666a87bbee29fff8 (diff) | |
download | emacs-453827d052d2d37fb35436cd9b98d0eca0cfc190.tar.gz |
(i[34]86:*:3.2:*): Test for ISC before SCO; newer ISC releases have uname -X.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config.guess b/config.guess index 310842e050d..10d7100737f 100755 --- a/config.guess +++ b/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 |