]> granicus.if.org Git - postgresql/commitdiff
Finally figured out that HP's cpp won't do ANSI preprocessing constructs
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Apr 2000 03:07:51 +0000 (03:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Apr 2000 03:07:51 +0000 (03:07 +0000)
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 ;-)

src/template/hpux_cc

index 8732e3d71c760c8cec1d0e35e2b2df5ad4a1cd12..755ce566fe462d12749adef830fea253362bc648 100644 (file)
@@ -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