Use of brackets with autoconf
Julien ÉLIE
julien at trigofacile.com
Fri Aug 21 08:26:31 UTC 2009
Hi Russ,
>> I tried to use double brackets ("[[" and "]]") but it did not work.
>> I found out what Autoconf calls "quadrigraphs", for instance writing
>> "@<:@" instead of "[".
>>
>> That's not very useful to use...
>> Isn't there a better solution for our mere strings?
>
> Nope, quadrigraphs are what you're supposed to use. The patch looks
> correct to me.
OK, just committed then.
Though it seems still weird that it works fine when there are no *spaces*
inside the brackets:
[Syslog facility [LOG_NEWS or LOG_LOCAL1]] does *not* work whereas
[Support for files larger than 2GB [default=no]] works fine.
Tested on Autoconf 2.61 and 2.63.
What made me see that is the fact that Autoconf 2.64 breaks with:
error: possibly undefined macro: _m4_text_wrap_word
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Using quadrigraphs or removing spaces solve the issue.
--
Julien ÉLIE
« Il était une fois un homme fidèle, c'est une belle histoire.
Il était une fois une femme fidèle, c'est un conte de fées. » (Maurice Jeanneret)
More information about the inn-workers
mailing list