diff options
| author | Karl Heuer | 1995-01-24 00:46:11 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-01-24 00:46:11 +0000 |
| commit | 453827d052d2d37fb35436cd9b98d0eca0cfc190 (patch) | |
| tree | dd0dd43436ebf37084645b9e1f5c45f3c2fea675 /config.guess | |
| parent | ac23f1166d985b5335621893666a87bbee29fff8 (diff) | |
| download | emacs-453827d052d2d37fb35436cd9b98d0eca0cfc190.tar.gz emacs-453827d052d2d37fb35436cd9b98d0eca0cfc190.zip | |
(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 | |||
| 306 | fi | 306 | fi |
| 307 | exit 0 ;; | 307 | exit 0 ;; |
| 308 | i[34]86:*:3.2:*) | 308 | i[34]86:*:3.2:*) |
| 309 | if /bin/uname -X 2>/dev/null >/dev/null ; then | 309 | if test -f /usr/options/cb.name; then |
| 310 | UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` | ||
| 311 | echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL | ||
| 312 | elif /bin/uname -X 2>/dev/null >/dev/null ; then | ||
| 310 | UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` | 313 | UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` |
| 311 | (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 | 314 | (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 |
| 312 | echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL | 315 | echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL |
| 313 | elif test -f /usr/options/cb.name; then | ||
| 314 | UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` | ||
| 315 | echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL | ||
| 316 | else | 316 | else |
| 317 | echo ${UNAME_MACHINE}-unknown-sysv32 | 317 | echo ${UNAME_MACHINE}-unknown-sysv32 |
| 318 | fi | 318 | fi |