Stefanos Harhalakis <v13@it.teithe.gr> writes:
> It seems that the problem is in src/template/linux:
> $ cat src/template/linux=20
> # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
> CPPFLAGS="-D_GNU_SOURCE"
> which is beeing sourced by configure.in. Changing this to
> CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
> solves the problem.
Hmm, good point (and I see template/hpux is committing the same sin).
For CFLAGS, configure.in takes pains to not let the template file
override a user-supplied setting. Should we do the same for CPPFLAGS,
or just apply the quick-and-dirty patch suggested by Stefanos to these
two templates?
regards, tom lane