-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Vincent Torri on 8/9/2007 12:11 PM:
> 
> I have another problem, which is similar. The problem is the result of
> AM_CONDITIONAL. Here is my macro:
> 
> AM_CONDITIONAL(BUILD_DRIVER_[]UP, test "x${use_]DOWN[}" = "xyes")

Follow the quoting rule of thumb - if you don't want things expanded
immediately, then use one level of [] per () to protect the argument
collection scan, thereafter, use nested quotes to control how the
expansion is parsed.  You want to make sure that UP and DOWN are
independent tokens after the AM_CONDITIONAL is expanded, so this pattern
should do it:

AM_CONDITIONAL([BUILD_DRIVER_[]UP, test "x${use_[]DOWN}" = "xyes"])

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGu9QN84KuGfSFAYARAqlEAJ9Wc5R+ZSUxktsKvgZjNa9xTfn+/QCgq+Un
gzuaHXNuufVMAfVtl+JKu58=
=Z27p
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to