-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Luca Barbato on 5/20/2008 5:49 PM: | | actual code produced (from a patch to make gegl not having automagic deps) | | in configure.ac | | PKG_WITH_MODULES(AVCODEC, libavcodec, | have_libavcodec="yes", | have_libavcodec="no (usable libavcodec not found)")
The bug is probably not in autoconf, but in your configure.ac. You failed to properly quote your code. Reread http://www.gnu.org/software/autoconf/manual/autoconf.html#Quotation-Rule-Of-Thumb, then write this as: PKG_WITH_MODULES([AVCODEC], [libavcodec], ~ [have_libavcodec="yes", ~ have_libavcodec="no (usable libavcodec not found)"]) But I don't see any mention of AS_IF or AC_ARG_VAR in your snippet (ie. your subject line is inconsistent with your pasted example). Without knowing the definition of PKG_WITH_MODULES, which is not an autoconf macro, I can only guess that it too has underquoted arguments. - -- 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 iEYEARECAAYFAkgzj/gACgkQ84KuGfSFAYA73QCfSJZsUZKu/YdMJudVaIQPOvU6 CNMAoMmoYFx4IytQBodbpohM8kIYKicP =5xVd -----END PGP SIGNATURE-----
