Re: Docu question - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Docu question
Date
Msg-id 200312271631.hBRGV2303414@candle.pha.pa.us
Whole thread Raw
In response to Docu question  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Michael Meskes wrote:
> In manage-ag.sgml our docs says:
> 
> [...]
>     risk. To allow it, you must compile <productname>PostgreSQL</> with
>     the C preprocessor macro <literal>ALLOW_ABSOLUTE_DBPATHS</>
>     defined. One way to do this is to run the compilation step like
>     this:
> <programlisting>
> gmake CPPFLAGS=-DALLOW_ABSOLUTE_DBPATHS all
> </programlisting>
> [...]
> 
> I wonder if there's a reason to suggest this gmake call. After all it
> makes gmake disregard the CPPFLAGS settings in the Makefile. This for
> instance breaks ecpg compilation on Linux as -D_GNU_SOURCE as defined in the
> Makefiles is needed for LONG_LONG_MIN.
> 
> I think we should either change the docs or start using "override" in
> the Makefiles.

Agreed. This is a problem.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Jürgen Cappel
Date:
Subject:
Next
From: ohp@pyrenet.fr
Date:
Subject: Re: [PATCHES] update i386 spinlock for hyperthreading