GNU Autotools
The GNU Autotools, also known as the GNU Build System, is a suite of programming tools designed to assist in making source code packages portable to many Unix-like systems.
Original author(s) | Community |
---|---|
Developer(s) | Free Software Foundation |
Stable release | Multiple
|
Written in | M4 (computer language), C |
Operating system | Cross-platform |
Platform | GNU and others |
Included with | GNU Operating System |
Available in | English |
License | GNU General Public License version 2 |
Website | www |
It can be difficult to make a software program portable: the C compiler differs from system to system; certain library functions are missing on some systems; header files may have different names; shared libraries may be compiled and installed in different ways. One way to handle platform differences is to write conditional code, with code blocks selected by means of preprocessor directives (#ifdef
); but because of the wide variety of build environments this approach quickly becomes unmanageable. Autotools is designed to address this problem more manageably.
Autotools is part of the GNU toolchain and is widely used in many free software and open source packages. Its component tools are free software, licensed under the GNU General Public License with special license exceptions permitting its use with proprietary software.
The GNU Build System makes it possible to build many programs using a two-step process: configure followed by make.