aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-04-21 03:07:51 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-04-21 03:07:51 +0000
commitef6c33f3b98d4ade568fd4669961ec2c00c7a16a (patch)
treee36c31322071f6e60eb653038a22a8738d63e76f
parentf084cc4939d04b69ae403b8893d0d673a53cc8ad (diff)
downloadpostgresql-ef6c33f3b98d4ade568fd4669961ec2c00c7a16a.tar.gz
postgresql-ef6c33f3b98d4ade568fd4669961ec2c00c7a16a.zip
Finally figured out that HP's cpp won't do ANSI preprocessing constructs
unless you feed it -Aa or -Ae switch. Autoconf does not know about this, but we can fix it in the hpux_cc template file. I knew templates were good for something ;-)
-rw-r--r--src/template/hpux_cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/template/hpux_cc b/src/template/hpux_cc
index 8732e3d71c7..755ce566fe4 100644
--- a/src/template/hpux_cc
+++ b/src/template/hpux_cc
@@ -8,5 +8,6 @@ DLSUFFIX:.sl
YFLAGS:-d
YACC:
CC:cc
+CPP:cc -E -Ae
# Make aCC be first C++ compiler name tried...
CCC:aCC