5.28. M4-1.4.17

The M4 package contains a macro processor.

Approximate build time: 0.2 SBU
Required disk space: 20 MB

5.28.1. Installation of M4

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 to a temporary directory:

make install DESTDIR=$(pwd)/debian/tmp

Create the package archive:

buildpkg --package=m4-pass1

Install the package:

dpkg -i ../m4-pass1_1.4.17_*.deb

Details on this package are located in Section 6.34.2, “Contents of M4.”