summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-09-11 18:31:46 +0000
committerTed Lemon <source@isc.org>1996-09-11 18:31:46 +0000
commitd7774eb0d2f277c6e8eb440c675699f627272bda (patch)
tree6ecc4b7c572ceef0e861e6c6110104d2ae90a156 /configure
parent911af7a5cb2ad4c5796fd66c63f1555ebe4bc2ff (diff)
downloadisc-dhcp-d7774eb0d2f277c6e8eb440c675699f627272bda.tar.gz
Support for Sun C Compiler
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index b00b6717..67a502c5 100755
--- a/configure
+++ b/configure
@@ -20,13 +20,21 @@ if [ "$sysname" = "" ]; then
SunOS)
case `uname -r` in
4*) sysname=sunos4;;
- 5*) sysname=sunos5;;
+ 5*)
+ path=`which gcc`
+ set $path
+ if [ $# = 1 ]; then
+ sysname=sunos5-gcc
+ else
+ sysname=sunos5-cc
+ fi;;
esac;;
NetBSD)
sysname=netbsd;;
FreeBSD)
sysname=freebsd;;
hpux)
+ HP-UX)
sysname=hpux;;
QNX)
sysname=qnx;;