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. Autoconf needs GNU m4 for generating `configure' scripts, but not for running them.
| Tags | Text Processing Filters |
|---|---|
| Licenses | GPL |
| Implementation | C |
Recent releases


Changes: Security fixes were made for the -F option. A regression introduced in 1.4.9b in the "divert" builtin was fixed. The output of the "maketemp" and "mkstemp" builtins is now quoted if a file was created. The "defn" builtin was enhanced to support concatenation of multiple text arguments, as required by POSIX. The "format" builtin was enhanced to parse all C99 floating point numbers. The "index" builtin was enhanced to guarantee linear behavior.


Changes: Running "./configure --infodir=/usr/share/info" now works correctly. When any file named on the command line is missing, the program exits with a status of 1.


No changes have been submitted for this release.


Changes: maketemp now creates an empty file with the given name, instead of merely returning the name of a nonexistent file. This closes a security hole.


No changes have been submitted for this release.