[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is an unquoted macro call?
From: |
Harlan Stenn |
Subject: |
Re: What is an unquoted macro call? |
Date: |
Wed, 08 Nov 2006 08:08:44 +0000 |
Hi Jian,
I believe the problem is the double quoting.
Please try:
AS_HELP_STRING([--with-bar=DIR], [Where to find bar libs])
instead.
H
--
> 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?