Autotools

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
Line 12: Line 12:
  
 
== Discussion ==
 
== Discussion ==
Autotools uses [[Bourne shell script|shell scripting]], [[Makefile|make]], [[M4]], [[Perl]]. Each source package is expected to include the Autotools components necessary to compile and install it, so Autotool does not have to be installed locally in order to use it for those purposes. However, if the included components find a local copy of Autotools, they may decide to use parts of it instead (with consequences that could be good or bad).
+
Autotools uses [[Bourne shell script|shell scripting]], [[Makefile|make]], [[M4]], and [[Perl]]. Each source package is expected to include the Autotools components necessary to compile and install it, so Autotool does not have to be installed locally in order to use it for these purposes. However, if the included components find a local copy of Autotools, they may decide to use parts of it (with consequences that could be good or bad).
  
 
== Files ==
 
== Files ==
Line 22: Line 22:
 
  config.h.in
 
  config.h.in
 
  config.guess
 
  config.guess
 +
config.log
 +
config.status
 
  config.sub
 
  config.sub
 
  configure
 
  configure
 
  configure.ac
 
  configure.ac
 +
configure.in
 
  COPYING
 
  COPYING
 
  COPYING.LESSER
 
  COPYING.LESSER
Line 31: Line 34:
 
  INSTALL
 
  INSTALL
 
  install-sh
 
  install-sh
 +
libtool
 
  libtool.m4
 
  libtool.m4
 
  ltmain.sh
 
  ltmain.sh
Line 39: Line 43:
 
  NEWS
 
  NEWS
 
  README
 
  README
 +
stamp-h
 +
stamp-h.in
 
  TODO
 
  TODO
  

Revision as of 20:54, 21 March 2016

File Format
Name Autotools
Ontology
Extension(s) .ac, .am, .in, others
Released ~1991

Autotools (or GNU Autotools; also called the GNU Build System) is a collective name for autoconf, automake, and libtool. Together, they constitute a toolkit used to help create source packages, and compile and install such packages, on a wide variety of Unix-like computer systems.

Autotools is sometimes considered to include additional utilities beyond the "big three" listed above, such as pkg-config or gettext.

Autotools is frequently criticized for being overly complicated and messy. But its flexibility and portability have proven difficult to replicate, so unfortunately there is often no better option available.

Contents

Discussion

Autotools uses shell scripting, make, M4, and Perl. Each source package is expected to include the Autotools components necessary to compile and install it, so Autotool does not have to be installed locally in order to use it for these purposes. However, if the included components find a local copy of Autotools, they may decide to use parts of it (with consequences that could be good or bad).

Files

Characteristic filenames used by Autotools include the following:

aclocal.m4
AUTHORS
ChangeLog
compile
config.h.in
config.guess
config.log
config.status
config.sub
configure
configure.ac
configure.in
COPYING
COPYING.LESSER
COPYING.LIB
depcomp
INSTALL
install-sh
libtool
libtool.m4
ltmain.sh
lt*.m4
Makefile.am
Makefile.in
missing
NEWS
README
stamp-h
stamp-h.in
TODO

Related formats

Links

Commentary and criticism

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox