bug-autoconf
[Top][All Lists]
Advanced

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

Re: AS_IF and AC_ARG_VAR issue with 2.62


From: Eric Blake
Subject: Re: AS_IF and AC_ARG_VAR issue with 2.62
Date: Wed, 21 May 2008 12:54:49 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

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

According to Luca Barbato on 5/21/2008 11:30 AM:
|> | AM_CONDITIONAL([WITH_][$1], [test "AS_TR_SH([with_]with_arg)" = "yes"])
|> |
|> | if test "$AS_TR_SH([with_]with_arg)" = "yes"; then
|> |     PKG_CHECK_MODULES([$1],[$2],[$3],[$4])
|> | fi
|>
|> I take it this is where you tried to use AS_IF?
|
| right it was something like
|
|    AS_IF([test "$AS_TR_SH([with_]with_arg)" = "yes"],
|      PKG_CHECK_MODULES([$1],[$2],[$3],[$4]))

Still missing quoting.

AS_IF([test "$AS_TR_SH([with_]with_arg)" = yes],
~  [PKG_CHECK_MODULES([$1],[$2],[$3],[$4])])

| Thank you for the insight, I'm trying to learn how to properly use
| autotools and isn't that easy get enough information.

You're not alone.  As you come across things that would have been useful
to see in the manual, let us know so we can add it for the benefit of
future users.

- --
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

iEYEARECAAYFAkg0b/kACgkQ84KuGfSFAYCk1QCfY7xGkjjngkUcX7yCZ1mIcHt8
biEAoK39xYC+W5rwdPagZol+tPoalXwW
=BGSQ
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]