autoconf man page

autoconf — Generate configuration scripts


autoconf [OPTION]... [TEMPLATE-FILE]


Generate a configuration script from a TEMPLATE-FILE if given, or `configure.ac' if present, or else `configure.in'. Output is sent to the standard output if TEMPLATE-FILE is given, else into `configure'.

Operation modes

-h, --help
print this help, then exit
-V, --version
print version number, then exit
-v, --verbose
verbosely report processing
-d, --debug
don't remove temporary files
-f, --force
consider all files obsolete
-o, --output=FILE
save output in FILE (stdout is the default)
-W, --warnings=CATEGORY
report the warnings falling in CATEGORY [syntax]

Warning categories include

cross compilation issues
obsolete constructs
dubious syntactic constructs
all the warnings
turn off the warnings on CATEGORY
turn off all the warnings
warnings are error

The environment variables `M4' and `WARNINGS' are honored.

Library directories

-B, --prepend-include=DIR
prepend directory DIR to search path
-I, --include=DIR
append directory DIR to search path


-t, --trace=MACRO[:FORMAT]
report the list of calls to MACRO
-i, --initialization
also trace Autoconf's initialization process

In tracing mode, no configuration script is created. FORMAT defaults to `$f:$l:$n:$%'; see `autom4te --help' for information about FORMAT.


Written by David J. MacKenzie and Akim Demaille.

Reporting Bugs

Report bugs to <bug-autoconf@gnu.org>.
GNU Autoconf home page: <http://www.gnu.org/software/autoconf/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.

See Also

autoconf(1), automake(1), autoreconf(1), autoupdate(1), autoheader(1), autoscan(1), config.guess(1), config.sub(1), ifnames(1), libtool(1).

Referenced By

autoheader(1), autom4te(1), autoreconf(1), autoscan(1), autoupdate(1), config.guess(1), config.sub(1), daemon(7), ifnames(1), mate-autogen(1), ocaml.m4(1), pcap.3pcap(3), root-config(1), time(1).

Explore man page connections for autoconf(1).

GNU Autoconf 2.68b March 2012