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

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
the cases
| I want brackets to denote array dimensions or array indices. I don't
want them
| 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             [EMAIL PROTECTED]
-----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

iD8DBQFHz/hY84KuGfSFAYARArZpAKCybLOxLfOl1RJaI+Z3duJOybq6RACggbJ9
wZtl92VQA+HN9n1aJK7CXQA=
=b5O6
-----END PGP SIGNATURE-----


Reply via email to