[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple --with-foo possible?
From: |
Eric Blake |
Subject: |
Re: Multiple --with-foo possible? |
Date: |
Sun, 06 Apr 2008 08:42:22 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 4/6/2008 7:39 AM:
|> dnl like that. TODO. Squared brackets are not being shown in help output.
|> AS_HELP_STRING([--with-module-ID=PATH!PRIORITY!SHARE[!COMMAND LINE]],
|> [add a module]))
Underquoted - you should quote invocations of AS_HELP_STRING when used as
arguments to another macro.
|
| For example like this (untested):
|
| AC_ARG_WITH([module],
| [AS_HELP_STRING([--with-module-ID=PATH,PRIORITY,SHARE[[,COMMAND
LINE]]],
| [add a module])])
Yes, that will work in 2.62 (which I tried to release yesterday, but we're
still sorting out upload permissions). But it won't work in 2.61 or
earlier, because of a bug in earlier autoconf that underquoted the
AS_HELP_STRING arguments.
|
| If you need non-nested brackets, you can still use quadrigraphs,
| see 'info Autoconf Quadrigraphs'.
Yes, that will work across multiple Autoconf versions.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkf44U4ACgkQ84KuGfSFAYC9lgCfY6DJy86sdMKdHQ4aza5tcglv
NBoAoLZqQwFHUcxvs87pZDZINROIdC24
=ZErm
-----END PGP SIGNATURE-----