Re: pgsql 8.0.0b1 - openssl detection

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stefanos Harhalakis <v13(at)it(dot)teithe(dot)gr>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: pgsql 8.0.0b1 - openssl detection
Date: 2004-08-20 00:52:47
Message-ID: 14386.1092963167@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Stefanos Harhalakis <v13(at)it(dot)teithe(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2004-08-20 02:32:43 Re: BUG #1224: Restarting postgres appends extra -D argument
Previous Message Alvaro Herrera 2004-08-20 00:22:07 Re: Regression test fail 8 beta on Fedora Core2