From cfb8d214088bbd7ad7951c1d85a8f51eb8aa03ef Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Thu, 30 Nov 2000 20:49:41 +0000 Subject: [PATCH] Fix up hp-ux config hacks. --- Makefile.conf | 6 +++--- configure | 9 +++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Makefile.conf b/Makefile.conf index 2af36bd6..3f60a62a 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 b7d9d42c..297581b4 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;;