bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_REQUIRE fails to ensure ordering of macros


From: Eric Blake
Subject: Re: AC_REQUIRE fails to ensure ordering of macros
Date: Fri, 26 Dec 2008 09:18:51 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666

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

According to Bruno Haible on 12/26/2008 4:19 AM:
> The macro gl_PRINTF_ENOMEM in glm4/printf.m4 starts with
>   AC_REQUIRE([AC_PROG_CC])

There's your bug.  AC_PROG_CC cannot be AC_REQUIRE'd.  This is a known
issue, and still something we don't know how to solve, because AC_PROG_CC
takes optional arguments, which does not interact well with AC_REQUIRE.
But why are you trying to require it anyway?  In general, AC_PROG_CC
should have already been expanded prior to calling gl_PRINTF_ENOMEM in the
first place.

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

iEYEARECAAYFAklVA+sACgkQ84KuGfSFAYCwAwCdEO64qbI40fVa93/if7UuiS9K
+1QAoJfsw1j51aKw4fKP9hzLwqOwlp7Q
=c1CY
-----END PGP SIGNATURE-----




reply via email to

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