[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: |
Wed, 28 Jan 2009 18:47:52 -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/28/2009 3:20 PM:
>>> -# AC_DEFUN_ONCE(NAME, VALUE)
>>> +# AC_DEFUN_ONCE([NAME], VALUE)
>>> # --------------------------
>> Lengthen the separator line by two dashes, then commit.
>
> I disagree. Inside autoconf macro documentation, brackets denote optional
> arguments.
>
> So this means that the first argument of AC_DEFUN_ONCE can be empty?!
No, it means that we are catering to a bug in autoconf 2.59. How would
you propose fixing it? (And technically, yes, autoconf allows you to
define the empty string as a macro, invokable by indir, so in that sense,
NAME really is optional, although it doesn't make much sense to omit NAME).
- --
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
iEYEARECAAYFAkmBCsgACgkQ84KuGfSFAYBbOgCffelvHd+frzhz6AR3GD+4A8vN
OS4An2u/2Xw1mVRTc+Y2A8o6uHSBuwnZ
=fQYR
-----END PGP SIGNATURE-----
- Re: expand-before-require bug, (continued)