Installing M4-1.4

Estimated build time:           1 minute
Estimated required disk space:  3 MB

Installation of M4

Install M4 by running the following commands:

./configure --prefix=/usr &&
make &&
make install

Contents

The M4 package contains the M4 processor

Description

M4 is a macro processor. It copies input to output expanding macros as it goes. Macros are either built-in or user-defined and can take any number of arguments. Besides just doing macro expansion m4 has built-in 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.

Dependencies

M4-1.4 needs the following to be installed:


sh from the bash package

ar from the binutils package
as from the binutils package
ld from the binutils package

chmod from the fileutils package
cp from the fileutils package
mv from the fileutils package
rm from the fileutils package

make from the make package

cc from the gcc package

egrep from the grep package
grep from the grep package

sed from the sed package

basename from the sh-utils package
date from the sh-utils package

cat from the textutils package
tr from the textutils package