summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.conf10
-rwxr-xr-xconfigure7
2 files changed, 16 insertions, 1 deletions
diff --git a/Makefile.conf b/Makefile.conf
index 37c3c2d3..2af36bd6 100644
--- a/Makefile.conf
+++ b/Makefile.conf
@@ -401,3 +401,13 @@ MINORVERSION=MinorVersion
#INSTALL = install -i
#MANINSTALL = install -i
##--hpux
+
+## HP-UX with gcc
+#--hpux-gcc--
+#CC = gcc
+#CF = cf/hpux.h
+#INSTALL = install -i
+#ADMMANEXT = .8
+#FFMANEXT = .5
+#MANINSTALL = install -i -m 444
+#--hpux-gcc--
diff --git a/configure b/configure
index 4beec7be..b7d9d42c 100755
--- a/configure
+++ b/configure
@@ -91,7 +91,12 @@ if [ "$sysname" = "" ]; then
hpux)
sysname=hpux;;
HP-UX)
- sysname=hpux;;
+ set `which gcc`
+ if [ $# = 1 ]; then
+ sysname=hpux-gcc
+ else
+ sysname=hpux
+ fi;;
QNX)
sysname=qnx;;
NEXTSTEP)