]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
SCO changes.
authorTed Lemon <source@isc.org>
Mon, 9 Apr 2001 00:31:48 +0000 (00:31 +0000)
committerTed Lemon <source@isc.org>
Mon, 9 Apr 2001 00:31:48 +0000 (00:31 +0000)
configure

index 58065c83cc2850740f02a1de5ce4a5f72215df5f..a7c748531cf97544275322d467ce57f93b219714 100755 (executable)
--- 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