Details on this package are located in Section 6.29.2, “Contents of M4.”
The M4 package contains a macro processor.
Fix an incompatibility between this package and Glibc-2.17:
sed -i -e '/gets is a/d' lib/stdio.in.h
Prepare M4 for compilation:
./configure --prefix=/tools
Compile the package:
make
Compilation is now complete. As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter. To run the M4 test suite anyway, issue the following command:
make check
Install the package:
make install
Details on this package are located in Section 6.29.2, “Contents of M4.”