Re: make --enable-depend the default - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: make --enable-depend the default
Date
Msg-id CAB7nPqTSNRQr3bbFJ5xms+mfPpxQR6JJWL4QLTbqPwSNfyR8Nw@mail.gmail.com
Whole thread Raw
In response to Re: make --enable-depend the default  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers



On Tue, Aug 6, 2013 at 6:59 AM, Robert Haas <robertmhaas@gmail.com> wrote:
On Mon, Aug 5, 2013 at 4:18 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On Thu, 2013-08-01 at 11:10 +0200, Andres Freund wrote:
>> People, including me, every now and then forget to pass --enable-depend
>> to configure (when not using my own environment). Which then leads to
>> strange errors that cost time to track down...
>
> One argument against that is that we only support dependency tracking
> with GCC, so we would have to either fail configure or use a different
> default depending on the compiler.
>
> It's also unreasonable to assume, I think, that just turning on
> --enable-depend by default will eliminate forgot-a-configure-option
> mistakes.  In most cases, you want to turn on most or all --enable-* and
> --with-* options to get good build and test coverage.

Yeah, I have alias dev-configure='./configure
--appropriate-stuff-for-this-machine' on every system where I work on
PG.  I imagine others do something similar.
Yes, this is for sure, even using environment variables dedicated to that in multiple machines makes sense.
--
Michael

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: File-per-GUC WAS: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])
Next
From: Josh Berkus
Date:
Subject: Re: File-per-GUC WAS: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])