GNU Autoconf/What Is Autoconf?
The autoconf tool is part of the GNU build system and is used to generate package configure scripts.
The autoconf tool works by performing macro expansions on its text input, replacing the macro calls with macro bodies to produce a shell script.
The autoconf tool uses the m4 general purpose macro language and can be extended using m4 macros.