[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: expand-before-require bug
From: |
Eric Blake |
Subject: |
Re: expand-before-require bug |
Date: |
Sun, 25 Jan 2009 16:36:25 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bruno Haible on 1/23/2009 5:26 PM:
> Eric Blake wrote:
>> With the proposal for autoconf 2.64, it can be
>> either invoked or required, in any order, without warning; it guarantees
>> that the expansion only occurs once; and it will never suffer from
>> out-of-order expansion (thanks to the embedded require under the hood).
>
> Sounds perfect. I can't await to see it running, and backported into
> gnulib-common.m4 :-)
Backporting within gnulib-common.m4 itself won't work - we have to
redefine AC_DEFUN_ONCE before any other gnulib .m4 file that uses it to
define another macro. Fortunately, Automake collects all m4/*.m4 files in
alphabetical order, so it should be as simple as making a file named
000-gnulib.m4 (or some-such) which is then guaranteed to be included
before any other gnulib m4 file. Any thoughts on how best to name/include
such a file reliably?
I've got the autoconf side running in my sandbox, and am now working on
the gnulib side.
- --
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
iEYEARECAAYFAkl893kACgkQ84KuGfSFAYB+9ACdEZOh8J1ziiICPewlc3Ybpa0W
BwEAn1LtMWPWDDEmmo3J53dn6Ck9EOjv
=GN06
-----END PGP SIGNATURE-----
- Re: expand-before-require bug, (continued)
- Re: expand-before-require bug, Eric Blake, 2009/01/22
- Re: expand-before-require bug, Paolo Bonzini, 2009/01/23
- Re: expand-before-require bug, Bruno Haible, 2009/01/23
- Re: expand-before-require bug, Paolo Bonzini, 2009/01/23
- Re: expand-before-require bug, Paolo Bonzini, 2009/01/23
- Re: expand-before-require bug, Eric Blake, 2009/01/23
- Re: expand-before-require bug, Bruno Haible, 2009/01/23
- Re: expand-before-require bug, Eric Blake, 2009/01/23
- Re: expand-before-require bug, Bruno Haible, 2009/01/23
- Re: expand-before-require bug,
Eric Blake <=
- Re: expand-before-require bug, Paolo Bonzini, 2009/01/26
- Re: expand-before-require bug, Ralf Wildenhues, 2009/01/26
- Re: expand-before-require bug, Ralf Wildenhues, 2009/01/26