From: Ted Lemon Date: Thu, 30 Nov 2000 20:49:41 +0000 (+0000) Subject: Fix up hp-ux config hacks. X-Git-Tag: V3-BETA-2-PATCH-12~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfb8d214088bbd7ad7951c1d85a8f51eb8aa03ef;p=thirdparty%2Fdhcp.git Fix up hp-ux config hacks. --- diff --git a/Makefile.conf b/Makefile.conf index 2af36bd6b..3f60a62a1 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -395,12 +395,12 @@ MINORVERSION=MinorVersion ##--irix-- ## HP-UX -##--hpux-- +##--hpux-cc-- #COPTS = $(BINDDEF) #LFLAGS = -Wl,+vnocompatwarnings #INSTALL = install -i #MANINSTALL = install -i -##--hpux +##--hpux-cc ## HP-UX with gcc #--hpux-gcc-- @@ -410,4 +410,4 @@ MINORVERSION=MinorVersion #ADMMANEXT = .8 #FFMANEXT = .5 #MANINSTALL = install -i -m 444 -#--hpux-gcc-- +##--hpux-gcc-- diff --git a/configure b/configure index b7d9d42c4..297581b4e 100755 --- a/configure +++ b/configure @@ -89,13 +89,18 @@ if [ "$sysname" = "" ]; then FreeBSD) sysname=freebsd;; hpux) - sysname=hpux;; + set `which gcc` + if [ $# = 1 ]; then + sysname=hpux-gcc + else + sysname=hpux-cc + fi;; HP-UX) set `which gcc` if [ $# = 1 ]; then sysname=hpux-gcc else - sysname=hpux + sysname=hpux-cc fi;; QNX) sysname=qnx;;