[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [vsipl++] [patch] Find & use native C MPI
- To: "Nathan (Jasper) Myers" <ncm@xxxxxxxxxxxxxxxx>
- Subject: Re: [vsipl++] [patch] Find & use native C MPI
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Mon, 26 Dec 2005 14:16:08 -0800
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@xxxxxxxxxxxxxxxx
(650) 331-3385 x713
|