Re: Have configure complain about unknown options

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Have configure complain about unknown options
Дата
Msg-id 20060505133438.GD23972@svana.org
обсуждение исходный текст
Ответ на Re: Have configure complain about unknown options  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Have configure complain about unknown options
Список pgsql-patches
On Fri, May 05, 2006 at 09:13:54AM -0400, Alvaro Herrera wrote:
> > 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).

How about the reverse, an option to relax the checking.
--disable-strict-options for example?

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

Looking at the source it may be an artifact of the CDBS build system
used to build the package. It knows that the autotools are in use and
appends it automatically. FWIW, I'd just add a line to the case
statement accepting the enable_maintainer_mode variable since it's
harmless and we're trying to catch typos here, not actual options that
don't apply in our case.

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.

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Have configure complain about unknown options
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: plpython improvements