On Jul 29, 2010, at 11:32 AM CDT, Anthony Chan wrote:
It seems there is quoting issue with AC_HELP_STRING (not sure how the automake/libtool to get "[..]" in their help stringd), but if you replace "[default is yes]" to "(default is yes)", autoconf-2.64 will process configure.in happily. I think we can use m4's change-quote if you really want "[..]". With 2.64, configure --help gives
Changing to parentheses is fine. If we did care, the best fix isn't changequote, but a pair of quadrigraphs instead: [default is yes] becomes: @<:@default is yes@:>@ http://www.gnu.org/software/autoconf/manual/autoconf.html#Quadrigraphs
--without-valgrind to disable valgrind support (such as because of version issues) --with-valgrind=PATH use valgrind headers installed in PATH (default is yes)
Notice things still don't align correctly.
Just kill the leading spaces before "[AS_HELP_STRING(". This fixes it.
BTW, I think the AS_HELP_STRING of "--without-valgrind" (the 1st one) is redundant, I suggest removing it if you are OK with it.
I disagree. I don't think it's intuitive for people who are unfamiliar with autoconf to realize that specifying "without" or "=no" will disable the valgrind support. It's unlikely to confuse users the way it is, but removing increases the chances of confusion. -Dave