Scroll to navigation

AUTOCONF(1) User Commands AUTOCONF(1)

NAME

autoconf - Generate configuration scripts

SYNOPSIS

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

DESCRIPTION

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:

print this help, then exit
print version number, then exit
verbosely report processing
don't remove temporary files
consider all files obsolete
save output in FILE (stdout is the default)
report the warnings falling in CATEGORY

Warning categories include:

cross compilation issues
GNU coding standards (default in gnu and gnits modes)
obsolete features or constructions (default)
user redefinitions of Automake rules or variables
portability issues (default in gnu and gnits modes)
portability-recursive
nested Make variables (default with -Wportability)
extra portability issues related to obscure tools
dubious syntactic constructs (default)
unsupported or incomplete features (default)
all the warnings
turn off warnings in CATEGORY
turn off all the warnings

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

Library directories:

prepend directory DIR to search path
append directory DIR to search path

Tracing:

report the list of calls to MACRO
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.

AUTHOR

Written by David J. MacKenzie and Akim Demaille.

REPORTING BUGS

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

COPYRIGHT

Copyright © 2021 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>, <https://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

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

The full documentation for autoconf is maintained as a Texinfo manual. If the info and autoconf programs are properly installed at your site, the command

info autoconf

should give you access to the complete manual.

January 2023 GNU Autoconf 2.71