-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Paolo Bonzini on 11/25/2008 7:15 AM: > Yes, it's things like this (especially the > diversion-during-argument-collection wart) that make me wonder if it > *could* ever work at all.
M4 1.6 will enhance the divert builtin: divert(diversion, [text]) where text, if specified, is dumped into diversion regardless of argument collection. But we want to work with m4 1.4.x for some time, still... > > The expand-twice trick in my previous email seems worth pursuing... But with: AC_FOO(m4_expand([AC_BAR])) it is not just the m4_expand that needs to happen twice, but AC_FOO. In other words, it seems like m4_expand needs to have the magic which informs the enclosing m4_defun'd function that m4_expand encountered an m4_require, so emit the required functions, then restart AC_FOO from scratch. Maybe I can make something happen from that idea. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----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 iEYEARECAAYFAkksC2wACgkQ84KuGfSFAYBTqwCgqF8+J3m+64T+V4LI3lyvwzbs FtQAoMMWTz/mQ6w9wMQv6tzfj31KnzI7 =0eHk -----END PGP SIGNATURE-----
