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.

Options

-d, --debug

Don’t remove temporary files.

-f, --force

Replace files generated previously by autoconf.

-h, --help

Print help message, then exit.

-i, --initialization

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

-o file, --output=file

Save output to file.

-t macro, --trace=macro

Report the list of calls to macro.

-v, --verbose

Verbosely print information about the progress of autoconf.

-B dir, --prepend-include=dir

Prepend directory dir to the search path.

-I dir, --include=dir

Append directory dir to the search path.

-V, --version

Print version number, then exit.

-W category, --warnings=category

Print any warnings related to category. Accepted categories are:

cross

Cross compilation.

obsolete

Obsolete constructs.

syntax

Questionable syntax.

all

All warnings.

no-category

Turn off warnings for category.

none

Turn off all warnings.

error

Treat warnings as errors.

Get Linux in a Nutshell, 6th 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.