[vsipl++] [patch] Find & use native C MPI

Mark Mitchell mark at codesourcery.com
Mon Dec 26 22:16:08 UTC 2005


Nathan (Jasper) Myers wrote:
          you should not use this option.]),
>    [case x"$enableval" in
> -    xyes) maintainer_mode=true ;;
> -    xno)  maintainer_mode= ;;
> -    *)   AC_MSG_ERROR([Invalid argument to --enable-maintainer-mode.])
> +    (xyes) maintainer_mode=true ;;
> +    (xno)  maintainer_mode= ;;
> +    (*)   AC_MSG_ERROR([Invalid argument to --enable-maintainer-mode.])

I didn't know about the (...) syntax, although I see it's certainly
documented in bash.  Is is valid with all shells?

I haven't see anyone use that in an autoconf script before; my concern
is that this might make the configure script less portable.

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
(650) 331-3385 x713



More information about the vsipl++ mailing list