Skip to content

Autoconf

Monsenhor edited this page Jan 23, 2018 · 1 revision

‘autoconf’ is a macro processor.

  • It converts configure.ac, which is a shell script using macro instructions, into configure, a full-fledged shell script. Autoconf offers many macros to perform common configuration checks.

  • It is not uncommon to have a configure.ac without shell constructs, using only macros.

  • While processing configure.ac it is also possible to trace the occurrences of macros. This is how ‘autoheader’ creates config.h.in.

  • It just looks for the macros that #define symbols.

  • The real macro processor actually is GNU M4. Autoconf offers some infrastructure on top of that, plus the pool of macros.

- Home

- Autoconf

- TDD

- C++ cooking

- Financial Recipes

- Development Tools

Clone this wiki locally