Re: pgsql 8.0.0b1 - openssl detection - Mailing list pgsql-bugs

From Stefanos Harhalakis
Subject Re: pgsql 8.0.0b1 - openssl detection
Date
Msg-id 200408201826.27663.v13@it.teithe.gr
Whole thread Raw
In response to Re: pgsql 8.0.0b1 - openssl detection  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Friday 20 August 2004 03:52, Tom Lane wrote:
> Stefanos Harhalakis <v13@it.teithe.gr> writes:
> > It seems that the problem is in src/template/linux:
> >
> > $ cat src/template/linux=3D20
> > # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
> > CPPFLAGS=3D"-D_GNU_SOURCE"
> >
> > which is beeing sourced by configure.in. Changing this to
> > CPPFLAGS=3D"$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?

I believe that if someone shall have to set CPPFLAGS=3D"-I..." for openssl =
then=20
he should not have to guess that CPPFLAGS should also contain -D_GNU_SOURCE=
,=20
unless it is stated in the documentation or as a warning when running the=
=20
configure script.

<<V13>>

pgsql-bugs by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: 8.0.0beta1 small inconsistency in pg_aggregate listing
Next
From: Ken Appleby
Date:
Subject: using 8.0 beta