Name

autoconf

Synopsis

    autoconf [options] [template_file]

Generate a configuration script from m4 macros defined in template_file, if given, or in a configure.ac or configure.in file in the current working directory. The generated script is almost invariably called configure.

Other related programs come as part of autoconf. They are usually invoked automatically by tools in the autoconf suite. They are:

autoreconf

Update configure scripts by running autoconf, autoheader, aclocal, automake, and libtoolize as needed.

autoscan

Create or maintain a preliminary configure.ac file named configure.scan based on source files in specified directory, or the current directory if none given.

autoupdate

Update the configure template file file, or configure.ac if no file is specified.

URL: http://www.gnu.org/software/autoconf.

Options

-d, --debug

Don’t remove temporary files.

-f, --force

Replace files generated previously by autoconf.

-i, --initialization

When tracing calls with the -t option, report calls made during initialization.

-Idir, --include=dir

Search in directory dir for input files.

-ofile, --output=file

Save output to file.

-tmacro, --trace=macro

Report the list of calls to macro.

-v, --verbose

Verbosely print information about the progress of autoconf.

-Wcategory, --warnings=category

Print any warnings related to category. Accepted categories are:

all

All warnings.

cross

Cross compilation.

error

Treat warnings as errors.

no- category

Turn off warnings for category.

none

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.