autoconf-patches
[Top][All Lists]
Advanced

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

Re: faster m4_divert*,m4_cond


From: Eric Blake
Subject: Re: faster m4_divert*,m4_cond
Date: Mon, 11 Aug 2008 22:07:49 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666

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

According to Eric Blake on 8/11/2008 9:56 PM:
| In autoconf 2.62, this gives a spurious warning and wrong result:
| m4_cond([a,a], [a,b], [yes], [no])
| m4:stdin:3: Warning: m4_if: extra arguments ignored: 5 > 4
| a,b
|
| the fixed version gives the desired result:
| m4_cond([a,b], [a,b], [yes], [no])
| yes

It helps if I give the same example in both implementations:

m4_cond([a,a], [a,b], [yes], [no])
no

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

iEYEARECAAYFAkihDJUACgkQ84KuGfSFAYCnyQCeP6/x35YFnzdE3cWQYOvOCksR
l6IAoICNbNbrswFH+wjiiJyvS72m47/d
=eq3I
-----END PGP SIGNATURE-----




reply via email to

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