Re: Compiler options for plperl - Mailing list pgsql-patches

From Reinhard Max
Subject Re: Compiler options for plperl
Date
Msg-id Pine.LNX.4.44.0211060914590.29657-100000@wotan.suse.de
Whole thread Raw
In response to Re: Compiler options for plperl  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
On Tue, 5 Nov 2002 at 23:41, Peter Eisentraut wrote:

> Reinhard Max writes:
>
> > Would it work for you, if only the preprocessor macro definitions were
> > derived from perl?
>
> Nope.  I don't want to trust anything that comes from Perl.

Me neither, but I think there is no other chance.

> Why not just define _GNU_SOURCE in some strategic place?  (But
> please not on the command line.)

As far as I understood our Perl guy, anything that embeds Perl _has_
to (or at least _should_) be compiled with the same preprocessor
defines. It might depend on the platform and compile-time
configuration of Perl which defines are needed for a particular
installation.

So why not let Perl itself tell what switches it needs?


cu
    Reinhard


pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: swedish translation
Next
From: Bruce Momjian
Date:
Subject: Re: 20020822_02_pitr.patch.gz