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

Reply via email to