diff options
author | Ted Lemon <source@isc.org> | 2000-09-20 00:01:13 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-09-20 00:01:13 +0000 |
commit | e13d4589c4f18cc9226a58e46844f8a03ae10484 (patch) | |
tree | bc369a8a23b08ab17ec6e5e2c0f65c02eac308c0 | |
parent | e78cd25941bca780baf5d42cd2591e524869c4f8 (diff) | |
download | isc-dhcp-e13d4589c4f18cc9226a58e46844f8a03ae10484.tar.gz |
Require gcc on SunOS4
-rw-r--r-- | Makefile.conf | 1 | ||||
-rwxr-xr-x | configure | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.conf b/Makefile.conf index 5a421edf..37c3c2d3 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -99,6 +99,7 @@ MINORVERSION=MinorVersion ## SunOS 4.1 ##--sunos4-- +#CC = gcc #LIBS = -lresolv #CF = cf/sunos4.h #BINDIR=/usr/etc @@ -63,7 +63,13 @@ if [ "$sysname" = "" ]; then minor=`echo $release |sed -e 's/.*[0-9]*\.\([0-9][0-9]*\).*$/\1/'` major=`echo $release |sed -e 's/\([0-9][0-9]*\)\..*$/\1/'` case $major in - 4) sysname=sunos4;; + 4) + set `which gcc` + if [ $# != 1 ]; then + echo SunOS 4 build will not work without the GNU C Compiler. + exit 1 + fi + sysname=sunos4;; 5) set `which gcc` if [ $# = 1 ]; then |