释雪 发表于 2004-10-9 12:23:52

请问, 哪里有关于M4宏的中文参考文档?

如题

MichaelBibby 发表于 2004-10-9 23:02:39

请教:M4宏是什么? :oops:

释雪 发表于 2004-10-10 15:40:42

啊?
难道难道我记错了?

autoconf中的
configure.ac不就用m4写的吗?
还有sendmail的配置文件也要用m4.......

释雪 发表于 2004-10-10 15:42:35

就是这个

GNU m4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). GNU m4 also has built-in functions for including files, running shell commands, doing arithmetic, etc.

GNU m4 is a macro processor in the sense that it copies its input to the output expanding macros as it goes. Macros are either builtin or user-defined and can take any number of arguments. Besides just doing macro expansion m4 has builtin functions for including named files, running UNIX commands, doing integer arithmetic, manipulating text in various ways, recursion etc... m4 can be used either as a front-end to a compiler or as a macro processor in its own right.

PXE2 发表于 2004-10-10 16:24:19

释雪好象 嗜血

释雪 发表于 2004-10-11 00:10:20

不是好像....
嗜血是我的另一个身份8)
页: [1]
查看完整版本: 请问, 哪里有关于M4宏的中文参考文档?