Thanks, Harlan.

I tried to use AS_HELP_STRING and found that we cannot double quote its
parameters. For example, I wrote a testing configure.ac like this:

AC_INIT([Foo], [1.0], [EMAIL PROTECTED], [foo])
AC_ARG_WITH(
   bar,
   AS_HELP_STRING([--with-bar=DIR], [[Where to find bar libs]])
)

Then I run autoconf to generate the configure script. But when I run
`configure --help' it outputed like this:

Optional Packages:
 --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 --with-bar=DIR          Where, to, find, bar, libs

Why the HELP string for `--with-bar' was seperated by commas? Anything I did
wrong?
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to