The
patch is built on top of the
GNU m4 version 1.4 macro package
available from the prep.ai.mit.edu
anonymous ftp site
in the pub/gnu/m4
directory.
A good mirror site is ftp.cdrom.com
and you can grab the
GNU m4 version 1.4 macro package from there.
One of the "bugs/features" is that the redirection only works when actually outputting to divert(0) (normally stdout). By the nature of m4 diversions are sent to temporary files, hence any redirections made when text is being sent to a "diversion" has no effect on that text. The redirection is remembered and becomes effective when undiverting diversion 0. If this is confusing then you're probably not familiar enough with the m4 macro package and need further practice with the language to discern the distinction.
Place the uncompressed patch in the m4-1.4/src
directory and run
patch < mm4.patch
This will modified some of the sources and Makefile.in
and then proceed as usual to start the compilation & installation.
The end results should be an executable named "mm4
", not the
usual m4
.