Re: Recommended m4 macro naming convention?
Daniel Goldman <[email protected]> Sat, 03 May 2014 22:33:19 -0700
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks for answering my questions. Daniel On 5/2/2014 5:13 AM, Eric Blake wrote: > > Yes, you got that right. > > m4 is used in so many different contexts, and the language itself > doesn't care, so it is really up to your application to choose a > convention. But yes, autoconf recommends ALL_CAPS, or possibly > sig_ALL_CAPS (where sig_ represents a lowercase namespace for a set of > macros provided from a single source), as the easiest to recognize. > Although the builtins default to lower case, m4 lets you rename the > builtins to whatever naming convention you'd like. > > Again, that's more up to your project, and what you want to document and > maintain for your local use of m4. >