On 23 May 2000, Akim Demaille wrote: > How would you write this: > > case $ac_package in > [*[^-a-zA-Z0-9_]*]) AC_MSG_ERROR([invalid package: $ac_package]);; > esac Your example could be rewritten to use a dummy case which is the complement, and changing the case you're looking for to the default of the case statement. The existing autoconf scripts use this in several places. -- T.E.Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
- Re: acgeneral.m4 & unsupported case patterns Akim Demaille
- Re: acgeneral.m4 & unsupported case patterns Paul Eggert
- Re: acgeneral.m4 & unsupported case patterns Akim Demaille
- Re: acgeneral.m4 & unsupported case patt... Thomas E. Dickey
- Re: acgeneral.m4 & unsupported case ... Akim Demaille
- Re: acgeneral.m4 & unsupported ... Thomas E. Dickey
- Re: acgeneral.m4 & unsuppor... Akim Demaille
- Re: acgeneral.m4 & unsu... Thomas E. Dickey
- Re: acgeneral.m4 & unsu... Paul Eggert
- Re: acgeneral.m4 & unsupported case ... Paul D. Smith
- Re: acgeneral.m4 & unsupported case patt... Paul Eggert
- Re: acgeneral.m4 & unsupported case ... Akim Demaille
- Re: acgeneral.m4 & unsupported ... Paul Eggert
- Re: acgeneral.m4 & unsupported case patterns Earnie Boyd