[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 06 Mar 2008 06:57:45 -0700
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:18.104.22.168) Gecko/20080213 Thunderbird/22.214.171.124 Mnenhy/0.7.5.666
-----BEGIN PGP SIGNED MESSAGE-----
According to Bruno Haible on 3/6/2008 6:49 AM:
| When I write a piece of C code (INCLUDES or FUNCTION-BODY), in 99% of
| I want brackets to denote array dimensions or array indices. I don't
| to expand to nothing.
| You say that AC_TRY_COMPILE has the wrong quoting rules. But I am using the
| macro for 15 years, and as a user I assert you that it has the right quoting
| rules that I want.
It's the wrong quoting rules, insofar that you cannot use an m4 macro to
expand to a list of files to be included. And that's exactly what
AC_INCLUDES_DEFAULT is meant to be.
| As a user, I want the quoting rules of AC_TRY_COMPILE. I don't want array
| expressions to expand into nonsense by default. And I want the ability to
| copy&paste code snippets from a .m4 file to a .c file and back.
That's still possible - put your [[ and ]] on the outside bounds of the
snippet (and not on each [ and ] within the snippet).
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----