From: Ted Lemon Date: Mon, 9 Apr 2001 00:31:48 +0000 (+0000) Subject: SCO changes. X-Git-Tag: V3-RC1~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1431de31317cc7df63c9e66ff044e1d14e98461;p=thirdparty%2Fdhcp.git SCO changes. --- diff --git a/configure b/configure index 58065c83c..a7c748531 100755 --- a/configure +++ b/configure @@ -1,5 +1,7 @@ #!/bin/sh +#sysname=$1 + while [ $# != 0 ]; do if [ x$1 = x--with-nsupdate ]; then echo "nsupdate is always built now." @@ -22,6 +24,22 @@ machine=`uname -m` if [ "$sysname" = "" ]; then case $uname in + SCO_SV) + IFS=":" + for foo in $PATH; do + if [ x$gcc_path = x ] && [ -x $foo/gcc ]; then + gcc_path=$foo/gcc + fi + done + IFS=" " + if [ x$gcc_path = x ]; then + sysname=sco-cc + sysname_print=sco + else + sysname=sco-gcc + sysname_print=sco + fi + ;; AIX) sysname=aix;; Rhapsody) @@ -163,6 +181,7 @@ if [ "$sysname" = "" ]; then echo " hpux HP-UX" echo " qnx QNX 4.2 or higher" echo " NEXTSTEP NeXTSTEP" + echo " sco SCO Open Server" exit 1; fi fi