From: Ted Lemon Date: Wed, 20 Sep 2000 00:01:13 +0000 (+0000) Subject: Require gcc on SunOS4 X-Git-Tag: V3-BETA-2-PATCH-5^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e13d4589c4f18cc9226a58e46844f8a03ae10484;p=thirdparty%2Fdhcp.git Require gcc on SunOS4 --- diff --git a/Makefile.conf b/Makefile.conf index 5a421edf2..37c3c2d36 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 diff --git a/configure b/configure index d591d3ce8..4beec7be5 100755 --- a/configure +++ b/configure @@ -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