From ec8651569380552d4451a52dd3d558c5fc77392a Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sat, 26 Sep 1998 20:44:46 +0000 Subject: [PATCH] 1998-09-27 Ben Elliston * config.guess: Detect UnixWare 7. Contributed by Paul Gampe . --- ChangeLog | 1 + config.guess | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0989fe5d..6ff280e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * config.guess: Apply the sysconf(2) test to HP 9000/600-series, 9000/802, 9000/804 and 9000/892 machines. Contributed by Pavel Roskin . + Detect UnixWare 7. Contributed by Paul Gampe . * acspecific.m4 (AC_PROG_INSTALL): Substitute `INSTALL_SCRIPT'. Contributed by Franc,ois Pinard . diff --git a/config.guess b/config.guess index 5a2522a1..8517a824 100755 --- a/config.guess +++ b/config.guess @@ -704,6 +704,13 @@ EOF echo ${UNAME_MACHINE}-pc-sysv32 fi exit 0 ;; + i?86:UnixWare:*:*) + if /bin/uname -X 2>/dev/null >/dev/null ; then + (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + fi + echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION} + exit 0 ;; pc:*:*:*) # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. -- 2.47.2