Библиотека сайта rus-linux.net
The M4 package contains a macro processor.
Approximate build time:
Required disk space:
6.24.1. Installation of M4
Add a missing include directive that prevents M4 successfully
building against Glibc-2.12.1:
sed -i -e '/"m4.h"/a\
#include <sys/stat.h>' src/path.c
Prepare M4 for compilation:
Compile the package:
To test the results, issue:
Install the package:
6.24.2. Contents of M4
copies the given files while expanding the macros that
they contain. These macros are either built-in or
user-defined and can take any number of arguments.
Besides performing macro expansion, m4 has built-in
functions for including named files, running Unix
commands, performing integer arithmetic, manipulating
text, recursion, etc. The m4 program can be used
either as a front-end to a compiler or as a macro
processor in its own right.