Autoconf
GNU Autoconf is a software development tool for generating a configure script that in turn generates files for building a codebase and for packaging or installing the resulting files. Autoconf is part of the GNU Build System along with Automake, Libtool, Autoheader and other tools. Autoconf is agnostic about the programming language of the codebase to build. None-the-less, it is primarily used with C, C++, Fortran, Erlang, or Objective-C. A configure script configures a software package for installation on a particular target system. After running a series of tests on the target system, the configure script generates header files and a makefile from templates, thus customizing the software package for the target system.
GNU Autoconf is a software development tool for generating a configure script that in turn generates files for building a codebase and for packaging or installing the resulting files. Autoconf is part of the GNU Build System along with Automake, Libtool, Autoheader and other tools. Autoconf is agnostic about the programming language of the codebase to build. None-the-less, it is primarily used with C, C++, Fortran, Erlang, or Objective-C. A configure script configures a software package for installation on a particular target system. After running a series of tests on the target system, the configure script generates header files and a makefile from templates, thus customizing the software package for the target system. ==Criticism== There is some criticism that states that Autoconf uses dated technologies, has a lot of legacy restrictions, and complicates simple scenarios unnecessarily for the author of configure.ac scripts. In particular, often cited weak points of Autoconf are: General complexity of used architecture, most projects use multiple repetitions. Some people think that 'configure' scripts generated by Autoconf provide only manual-driven command-line interface without any standardization. While it is true that some developers do not respect common conventions, such conventions do exist and are widely used. m4 is unusual and unknown to many developers. Developers will need to learn it to extend Autoconf with non-standard checks. Weak backward and forward compatibility requires a wrapper script. Autoconf-generated scripts are usually large and rather complex. Although they produce extensive logging, debugging them can still be difficult. Due to these limitations, several projects that used GNU Build System switched to different build systems, such as CMake and SCons. ==See also== ==References==
References
- ^ "Portable Shell" . Autoconf . Retrieved 20 January 2020 . Wikipedia revision 1274253685, retrieved 2026-11-18 · 1794956400.0
- ^ Dickey, Thomas. "why i still use autoconf 2.13" . Wikipedia revision 1274253685, retrieved 2026-11-18 · 1794956400.0
- ^ Kamp, Poul-Henning (2010-04-20). "Did you call them autocrap tools?" . Archived from the original on 2017-09-11 . Retrieved 2017-08-16 . Wikipedia revision 1274253685, retrieved 2026-11-18 · 1502838000.0
- ^ "Blender.org - Build systems" . Archived from the original on 2008-12-02 . Retrieved 2009-06-10 . Wikipedia revision 1274253685, retrieved 2026-11-18 · 1244588400.0
- ^ "GNU Coding Standards" . Wikipedia revision 1274253685, retrieved 2026-11-18 · 1794956400.0
- ^ a b Neundorf, Alexander (2006-06-21). "Why the KDE project switched to CMake -- and how" . Wikipedia revision 1274253685, retrieved 2026-11-18 · 1794956400.0
- ^ Kamp, Poul-Henning (2012-08-15). "A Generation Lost in the Bazaar" . ACM Queue . 10 (8): 20– 23. doi : 10.1145/2346916.2349257 . S2CID 11656592 . Wikipedia revision 1274253685, retrieved 2026-11-18 · 1794956400.0
- ^ a b McCall, Andrew (2003-06-21). "Stop the autoconf insanity! Why we need a new build system" . Archived from the original on 2009-07-07. Wikipedia revision 1274253685, retrieved 2026-11-18 · 1794956400.0
- ^ Zachary Weinberg (20 March 2026). "autoconf-2.73 released [stable]" . Retrieved 20 March 2026 . Wikipedia revision 1274253685, retrieved 2026-11-18 · 1794956400.0
Cite this
"Autoconf". 1738829255. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1274253685 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy