summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-09-20 00:01:13 +0000
committerTed Lemon <source@isc.org>2000-09-20 00:01:13 +0000
commite13d4589c4f18cc9226a58e46844f8a03ae10484 (patch)
treebc369a8a23b08ab17ec6e5e2c0f65c02eac308c0 /configure
parente78cd25941bca780baf5d42cd2591e524869c4f8 (diff)
downloadisc-dhcp-e13d4589c4f18cc9226a58e46844f8a03ae10484.tar.gz
Require gcc on SunOS4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index d591d3ce..4beec7be 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