[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....
- autoconf option fun, Ralf Corsepius, 2000/11/05
- Re: autoconf option fun,
Bruce Korb <=
- Re: autoconf option fun, Pavel Roskin, 2000/11/09
- Re: autoconf option fun, Peter Eisentraut, 2000/11/09
- Re: autoconf option fun, Pavel Roskin, 2000/11/09
- Re: autoconf option fun, Bruce Korb, 2000/11/09
- Re: autoconf option fun, Alexandre Oliva, 2000/11/10
- Re: autoconf option fun, Bruce Korb, 2000/11/09
- Re: autoconf option fun, Akim Demaille, 2000/11/10