Re: What is an unquoted macro call?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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], [root@xxxxxxxxxx], [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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux