From 8f6dc9c50fe537b4ba21ab96af556d20b3ceee9d Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 27 Feb 2000 17:17:43 +0000 Subject: [PATCH] Update config for the unixware targets by looking at what was done in Apache's GuessOS (from Apache 1.3.1). --- config | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config b/config index 3390d1e76a..0155a6ac83 100755 --- a/config +++ b/config @@ -27,6 +27,7 @@ RELEASE=`(uname -r) 2>/dev/null` || RELEASE="unknown" SYSTEM=`(uname -s) 2>/dev/null` || SYSTEM="unknown" VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown" + # Now test for ISC and SCO, since it is has a braindamaged uname. # # We need to work around FreeBSD 1.1.5.1 @@ -50,6 +51,8 @@ if [ "x$XREL" != "x" ]; then 4.2MP) if [ "x$VERSION" = "x2.1.1" ]; then echo "${MACHINE}-whatever-unixware211"; exit 0 + elif [ "x$VERSION" = "x2.1.2" ]; then + echo "${MACHINE}-whatever-unixware212"; exit 0 else echo "${MACHINE}-whatever-unixware2"; exit 0 fi @@ -57,8 +60,10 @@ if [ "x$XREL" != "x" ]; then 4.2) echo "whatever-whatever-unixware1"; exit 0 ;; - 5*) - echo "${MACHINE}-sco-unixware7"; exit 0 + 5) + if [ "x$VERSION" = "x7" ]; then + echo "${MACHINE}-sco-unixware7"; exit 0 + fi ;; esac fi -- 2.25.1