Re: Comma in AS_HELP_STRING string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Wed, Jun 14, 2006 at 12:58:00PM +0200, Ralf Wildenhues wrote:
> * Stepan Kasal wrote on Wed, Jun 14, 2006 at 11:46:37AM CEST:
> > As a workaround you could try to add _three_ pairs of brackets:
> 
> No.  This advice is not only wrong, but it is also very bad advice.
> Please do not teach users to blindly add brackets until some code
> "appears" to work.  Such behavior ends up in huge amounts of legacy code
> that stops to work when bugs are eventually fixed in Autoconf.

I agree with you, Ralf.  Very nicely explained.
I regret that I posted the bad advice.

> Jerry, for now just don't use AS_HELP_STRING at all, but pass a
> preformatted string as second argument to AC_ARG_ENABLE:
> 
> AC_ARG_ENABLE([baz],
>   [  --with-wx=opt1,opt2     specify 2 options separated by comma])])
> 
> This works, and will continue to work.

Yes, this is the right answer.

Have a nice day,
	Stepan


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux