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: Tue, 20 May 2008 20:59:04 -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/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             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

iEYEARECAAYFAkgzj/gACgkQ84KuGfSFAYA73QCfSJZsUZKu/YdMJudVaIQPOvU6
CNMAoMmoYFx4IytQBodbpohM8kIYKicP
=5xVd
-----END PGP SIGNATURE-----




reply via email to

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