Autoconf

Table of Contents

Next: , Up: (dir)


Autoconf

This manual (24 April 2012) is for GNU Autoconf (version 2.69), a package for creating scripts to configure source code packages using templates and an M4 macro package.

Copyright © 1992-1996, 1998-2012 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License.”

--- The Detailed Node Listing ---

The GNU Build System

Making configure Scripts

Writing configure.ac

Initialization and Output Files

Substitutions in Makefiles

Configuration Header Files

Existing Tests

Common Behavior

Alternative Programs

Library Functions

Header Files

Declarations

Structures

Types

Compilers and Preprocessors

Writing Tests

Writing Test Programs

Results of Tests

Caching Results

Programming in M4

M4 Quotation

Using autom4te

Programming in M4sugar

Programming in M4sh

Writing Autoconf Macros

Dependencies Between Macros

Portable Shell Programming

Portable Make Programming

VPATH and Make

Portable C and C++ Programming

Integer Overflow

Manual Configuration

Site Configuration

Transforming Program Names When Installing

Running configure Scripts

Obsolete Constructs

Upgrading From Version 1

Upgrading From Version 2.13

Generating Test Suites with Autotest

Using an Autotest Test Suite

Frequent Autoconf Questions, with answers

History of Autoconf

Indices