m4 & -P option to require m4_ before macros
Hi;
I don't know which forum to ask m4 questions, but here goes...
If you invoke $m4 -P <filename>, it will only expand m4 commands that have m4_ preceding them; like m4_define rather than define (I'm explaining it terribly, but if you know m4 you know what I mean).
My question: Is there any m4 command you can put IN the file that invokes that? I mean, I have different m4 files, some of which would use regular define(a,b), and some m4_define(a,b). I'd rather just invoke m4 with no -P option, and have at the head of the ones needing m4_define a line like "require prefix-builtins", that would then cause all subsequent builtins to be prefixed by m4_.
Sorry again for expressing things badly, but if anyone knows the answer, I'd be grateful to get it.
Thanks,
Chris
|