Add support for Unixware 7. Thanks to Ron Record <rr@sco.com> for the
authorRichard Levitte <levitte@openssl.org>
Sat, 26 Feb 2000 03:51:55 +0000 (03:51 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 26 Feb 2000 03:51:55 +0000 (03:51 +0000)
patch.

Configure
config

index b2a56c66e9fe1bbbd4d506225d2168e0058509b4..4d276bc7b6d016121708c89e0c982a194820f633 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -287,6 +287,9 @@ my %table=(
 "unixware-2.0","cc:-O -DFILIO_H::(unknown):-lsocket -lnsl:$x86_gcc_des ${x86_gcc_opts}:::",
 "unixware-2.0-pentium","cc:-O -DFILIO_H -Kpentium -Kthread::(unknown):-lsocket -lnsl:MD2_CHAR RC4_INDEX ${x86_gcc_des}::",
 
+# UnixWare 7
+"unixware-7","cc:-O -DFILIO_H -Kalloca::-Kthread:-lsocket -lnsl:MD2_CHAR RC4_INDEX ${x86_gcc_des}::",
+
 # IBM's AIX.
 "aix-cc",   "cc:-O -DAIX -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR:::",
 "aix-gcc",  "gcc:-O3 -DAIX -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR:::",
diff --git a/config b/config
index 73d94bf7e78d9f9e2c70e28dd4c75bc29e81fc73..3390d1e76aa40e0dfee580c97d1928bdf5f02b95 100755 (executable)
--- a/config
+++ b/config
@@ -57,6 +57,9 @@ if [ "x$XREL" != "x" ]; then
            4.2)
                echo "whatever-whatever-unixware1"; exit 0
                ;;
+           5*)
+               echo "${MACHINE}-sco-unixware7"; exit 0
+               ;;
        esac
     fi
 fi
@@ -444,9 +447,12 @@ case "$GUESSOS" in
   *-*-openbsd) OUT="OpenBSD" ;;
   *86*-*-bsdi4) OUT="bsdi-elf-gcc" ;;
   *-*-osf) OUT="alpha-cc" ;;
-  *-*-unixware*) OUT="unixware-2.0" ;;
-  *-*-UnixWare*) OUT="unixware-2.0" ;;
-  *-*-Unixware*) OUT="unixware-2.0" ;;
+  *-*-unixware7) OUT="unixware-7" ;;
+  *-*-UnixWare7) OUT="unixware-7" ;;
+  *-*-Unixware7) OUT="unixware-7" ;;
+  *-*-unixware[1-2]*) OUT="unixware-2.0" ;;
+  *-*-UnixWare[1-2]*) OUT="unixware-2.0" ;;
+  *-*-Unixware[1-2]*) OUT="unixware-2.0" ;;
   BS2000-siemens-sysv4) OUT="BS2000-OSD" ;;
   RM*-siemens-sysv4) OUT="ReliantUNIX" ;;
   *-siemens-sysv4) OUT="SINIX" ;;