Allow augmenting CPPFLAGS from the configure command line. This generally
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 12 Dec 2006 19:43:19 +0000 (19:43 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 12 Dec 2006 19:43:19 +0000 (19:43 +0000)
works, but some platform templates overwrote it without asking.

src/template/hpux
src/template/linux

index d8b5529b87add3d279a3b7e162595fe760b7b809..a0d0b59f1fa1975d6e74ac526ee81649819ead89 100644 (file)
@@ -1,6 +1,6 @@
-# $PostgreSQL: pgsql/src/template/hpux,v 1.15 2006/03/11 04:38:41 momjian Exp $
+# $PostgreSQL: pgsql/src/template/hpux,v 1.16 2006/12/12 19:43:19 petere Exp $
 
-CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
+CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
 
 if test "$GCC" != yes ; then
   CC="$CC -Ae"
index 6293e6a03a22af2b81443997419ecb2ba8bf4510..dff0eca6f105854f8975cf1ef10654f0db7e3861 100644 (file)
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/template/linux,v 1.28 2006/03/11 04:38:41 momjian Exp $
+# $PostgreSQL: pgsql/src/template/linux,v 1.29 2006/12/12 19:43:19 petere Exp $
 
 # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
-CPPFLAGS="-D_GNU_SOURCE"
+CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"