[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is an unquoted macro call?
From: |
Jian Wang |
Subject: |
Re: What is an unquoted macro call? |
Date: |
Wed, 8 Nov 2006 15:57:48 +0800 |
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], address@hidden, [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?