Skip to main content

Autotools

info

In this section, you'll see what Autotools is. If you're looking to configure it for your project, this is the right section.

What is Autotools?

Autotools is a build system created by GNU to package all their tools. It contains a suite of build and configuration tools. These tools automate the configuration, build and installation process on various UNIX systems.

Autotools is a group of 3 tools:

  • Autoconf.
  • Automake.
  • Libtool.

What is Autoconf?

Autoconf is a tool that generates platform-independent configuration scripts (usually named configure). These scripts are responsible for checking the host system's features, libraries, and capabilities to generate a Makefile tailored to the specific system.

What is Automake?

Automake complements Autoconf by providing a set of Makefile templates and rules that simplify the process of creating Makefiles. It helps maintain consistency and compatibility between different software projects. Automake works with Autoconf to create Makefiles, which are essential for building software from source code.

info

Autotools Workflow Scheme

Autotools Workflow

Libtool

danger

For 42sh, you do not need to use Libtool. However, it could be useful if you know how to use it.

Libtool is a specialized tool designed to handle challenges associated with building shared libraries on different Unix systems. It offers a standardized interface for the creation and utilization of shared libraries, making it easier to distribute.