Re: ./configure argument checking

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ./configure argument checking
Date: 2006-10-13 08:12:18
Message-ID: 20061013081218.GC1896@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Oct 12, 2006 at 08:01:06PM -0500, Andrew Dunstan wrote:
> > I think one idea is a "pedantic" mode that fails if an unrecognized
> > option is supplied.
>
> I do not see any point at all in a special mode. If you know enough to
> want to use it you should be able to protect yourself more directly from
> needing it, simply by taking care to use correct switches.

It was originally a fatal error right at the beginning but we got
complaints that build systems tend to assume they can load the
command-line with lots of crap and still expect it to work.

All I can suggest at this point is try to make it more visible (more
stars or spacing). Ofcourse with ./configure && make && make install
you still won't see it.

I would like a pedantic mode, but the method of activation is a tricky
issue. You want it to be 'on' for normal users but 'off' for automatic
build scripts.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas ADI SD 2006-10-13 08:41:36 Re: [PERFORM] Hints proposal
Previous Message Martijn van Oosterhout 2006-10-13 08:05:57 Re: [HACKERS] array_accum aggregate