summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-04-09 00:31:48 +0000
committerTed Lemon <source@isc.org>2001-04-09 00:31:48 +0000
commitf1431de31317cc7df63c9e66ff044e1d14e98461 (patch)
tree24126f30f559381215a98cd647c33b0f14494a81 /configure
parentfcebfc39d82d881e62697dd1305714b6602d792a (diff)
downloadisc-dhcp-f1431de31317cc7df63c9e66ff044e1d14e98461.tar.gz
SCO changes.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure b/configure
index 58065c83..a7c74853 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