-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Roger Southwick on 10/1/2008 1:04 AM: > I'd like to suggest that the ability to ignore duplicate included files > be built into the m4 program itself, > rather than pushdef/ifdef example. Maybe enabled with a > --ignore-duplicate-include option.
I'm reluctant to add a command-line option for something that can be so easily coded in native m4. On the other hand, m4 2.0 will allow loadable modules thanks to libtool, so you could write a C module that redefines include to have your desired semantics, and load that on top of the normal modules to change include at the C level rather than the m4 level. - -- 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 iEYEARECAAYFAkjjZe0ACgkQ84KuGfSFAYBGYACdFqGSSTaptQ92YYhP0iVmwlNK XdQAn0KUjuWd1aMNbXNFvMMoySbcYcxs =KUhN -----END PGP SIGNATURE----- _______________________________________________ m4-discuss mailing list [email protected] http://lists.gnu.org/mailman/listinfo/m4-discuss
