autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf option fun


From: Bruce Korb
Subject: Re: autoconf option fun
Date: Thu, 09 Nov 2000 06:25:59 -0800

Alexandre Oliva wrote:
> 
> On Nov  7, 2000, Akim Demaille <address@hidden> wrote:
> 
> > Yep, I'm in favor of removing all the --a* etc. it makes it uselessly
> > ambiguous, and short options are a better means to abbreviate.  And
> > trying to support exact abbreviations, as is done in configure, is an
> > additional tedious maintenance nightmare.
> 
> Agreed.  But beware that this decision goes against the GNU Coding
> Standards.
> 
> I guess we should have an m4sh (or m4sugar?) macro to expand:
> 
> m4_case_longopt([foo])
> 
> to
> 
> --foo | --fo | --f
> 
> and
> 
> m4_case_longoptarg([foo])
> 
> to
> 
> --foo=* | --fo=* | --f=*

Such a macro would have to keep track of whether or not
there was a --fumble=xxx option, too.  Of course, I *do*
have a shell script option processing generator that does
all this stuff automatically....



reply via email to

[Prev in Thread] Current Thread [Next in Thread]