Penguin

The AutoTools are a collection of GNU tools to manage the build environment for highly portable projects.

They include:

  • Autoconf (the thing that generates configure scripts)
  • Automake (the thing that generates MakeFiles from Makefile.am sources)

If you think about it, Automake is basically an extra layer added to patch up limitations in the original Makefile concept. Some development projects have been moving to alternatives to Make and parts of Autotools, such as CMake and Jam.

configure file

configure probes the systems for required functions, libraries, and tools and then it generates a config.h file with all #defines as well as MakeFiles to build the package.


Notes:

If you get weird errors like:

configure.in:13: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:28: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:35: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.in:395: error: possibly undefined macro: AM_CONDITIONAL

then this means you probably need to upgrade automake(1).


CategoryProgramming