-----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             [EMAIL PROTECTED]
-----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