Re: ./configure argument checking

От: Jim C. Nasby
Тема: Re: ./configure argument checking
Дата: ,
Msg-id: 20061013162636.GU28647@nasby.net
(см: обсуждение, исходный текст)
Ответ на: Re: ./configure argument checking  (Alvaro Herrera)
Ответы: Re: ./configure argument checking  (Tom Lane)
Список: pgsql-hackers

Скрыть дерево обсуждения

./configure argument checking  ("Jim C. Nasby", )
 Re: ./configure argument checking  (Andrew Dunstan, )
  Re: ./configure argument checking  (Martijn van Oosterhout, )
   Re: ./configure argument checking  (Bruce Momjian, )
    Re: ./configure argument checking  (Tom Lane, )
     Re: ./configure argument checking  (Bruce Momjian, )
      Re: ./configure argument checking  ("Andrew Dunstan", )
       Re: ./configure argument checking  (Martijn van Oosterhout, )
        Re: ./configure argument checking  (Tom Lane, )
         Re: ./configure argument checking  (Alvaro Herrera, )
          Re: ./configure argument checking  ("Jim C. Nasby", )
           Re: ./configure argument checking  (Tom Lane, )
            Re: ./configure argument checking  ("Jim C. Nasby", )
             Re: ./configure argument checking  (Tom Lane, )
              Re: ./configure argument checking  (Martijn van Oosterhout, )
     Re: ./configure argument checking  (Peter Eisentraut, )
      Re: ./configure argument checking  ("Jim C. Nasby", )
       Re: ./configure argument checking  (Peter Eisentraut, )
        Re: ./configure argument checking  ("Jim C. Nasby", )
        Re: ./configure argument checking  (Peter Eisentraut, )
      Re: ./configure argument checking  (Tom Lane, )

On Fri, Oct 13, 2006 at 11:25:28AM -0400, Alvaro Herrera wrote:
> Tom Lane wrote:
> > Martijn van Oosterhout <> writes:
> > > 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.
> > 
> > A quiet mode would work better, because it could be on by default for 
> > both cases.  However, people may be too used to expecting to see chatter
> > from configure scripts --- anyone who's used a few before would probably
> > think the script was hung :-(
> 
> Maybe have it emit single chars instead of lines for each check?  That
> way it looks like something's going on.  Not sure how difficult that is
> with autoconf.

That would be useful, though personally I'd much rather have the default
be to error-out if it gets garbage arguments. If we provided a flag that
disabled that, all porters would have to do is to add that to the myriad
of flags they're already passing in.

In the meantime, +1 to adding some whitespace around the warning... I'd
suggest two blank lines before and after.
-- 
Jim Nasby                                            
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



В списке pgsql-hackers по дате сообщения:

От: Tom Lane
Дата:
Сообщение: Re: ./configure argument checking
От: "Andrew Dunstan"
Дата:
Сообщение: Re: [PATCHES] index advisor