Re: ./configure argument checking

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "Jim C(dot) Nasby" <jim(at)nasby(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ./configure argument checking
Date: 2006-10-13 00:51:01
Message-ID: 200610130051.k9D0p1q24490@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Martijn van Oosterhout wrote:
> >> IIRC it was made a non-fatal warning somewhere near the end of the
> >> output, but I'm not sure...
>
> > It spits out this line just before it creates its output files:
> > *** Option ignored: --with-lkjasdf
>
> Of course, since it spits out pages and pages of normally-useless trivia,
> we've all become conditioned to ignore configure's output as long as it
> doesn't actually fail :-(
>
> Not sure what to do about that --- I doubt that raising this warning to
> error would be a good idea, seeing how firmly the upstream developers
> believe it shouldn't even be a warning. Is there any sort of "quiet
> mode" possible that would report only warnings? Would it be a good idea
> if it were possible?

I think one idea is a "pedantic" mode that fails if an unrecognized
option is supplied.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Casey Duncan 2006-10-13 00:53:29 Re: Hints (Was: Index Tuning Features)
Previous Message Carlos Chacon 2006-10-12 23:42:51 Re: Modification to the postgres catalog