[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comma in AS_HELP_STRING string
From: |
Stepan Kasal |
Subject: |
Re: Comma in AS_HELP_STRING string |
Date: |
Thu, 15 Jun 2006 15:36:43 +0200 |
User-agent: |
Mutt/1.4.2.1i |
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