Re: Have configure complain about unknown options

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Have configure complain about unknown options
Дата
Msg-id 20060505131353.GD8878@surnet.cl
обсуждение исходный текст
Ответ на Re: [PATCH] Have configure complain about unknown options  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Have configure complain about unknown options
Список pgsql-patches
Martijn van Oosterhout wrote:
> 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 :)

I've been bitten by this in the past as well.  I'd vote for applying the
patch as-is, no "strict mode" necessary (because, as you say, it's easy
to get it wrong).

Can the Debian build script be fixed?  Does the RPM spec have the same
problem?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

В списке pgsql-patches по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [PATCH] Have configure complain about unknown options
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Have configure complain about unknown options