Re: [PATCH] Have configure complain about unknown options - Mailing list pgsql-patches

From Martijn van Oosterhout
Subject Re: [PATCH] Have configure complain about unknown options
Date
Msg-id 20060505130511.GC23972@svana.org
Whole thread Raw
In response to Re: [PATCH] Have configure complain about unknown options  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Have configure complain about unknown options
List pgsql-patches
On Fri, May 05, 2006 at 08:34:36AM -0400, Bruce Momjian wrote:
>
> I am thinking we would need an option at the start like --strict that
> would throw an error for any later invalid options.

Well, --strict would be tricky, if it's possible. My reading of the
autoconf code doesn't indicate a means of doing adding abitrary
options. But something like --enable-strict-options would be fairly
straight forward. Problem being, if you mistype that option, it'll seem
to work even when it isn't :)

Maybe an evironment variable: PGAC_STRICT

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

Attachment

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCH] Have configure complain about unknown options
Next
From: Alvaro Herrera
Date:
Subject: Re: Have configure complain about unknown options