diff options
author | Richard Kenner <kenner@gnu.org> | 1995-04-27 13:22:29 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gnu.org> | 1995-04-27 13:22:29 +0000 |
commit | 820bd50cfb610a29ab3935ab703c817302dbb409 (patch) | |
tree | b88273590f3017f2e991cf0e8292e2bc8ec05f3b | |
parent | 5c03f2d8ec0918b41f0b9ad69975ca42d1ef14ea (diff) | |
download | glibc-820bd50cfb610a29ab3935ab703c817302dbb409.tar glibc-820bd50cfb610a29ab3935ab703c817302dbb409.tar.gz glibc-820bd50cfb610a29ab3935ab703c817302dbb409.tar.bz2 glibc-820bd50cfb610a29ab3935ab703c817302dbb409.zip |
(i[34]86:*:3.2:*) test for /usr/options/cb.name before calling uname.
-rwxr-xr-x | config.guess | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config.guess b/config.guess index dd5181a2bd..d27eee7fd0 100755 --- a/config.guess +++ b/config.guess @@ -329,13 +329,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 |