autoconf - Generate configuration scripts
| Use Case | Command | Description |
|---|---|---|
| Generate default configure | autoconf | Creates configure from configure.ac |
| Specify input file | autoconf -o configure myconfigure.ac | Output to a specific file |
| Verbose processing | autoconf -v | Show detailed processing steps |
| Debug (keep temp files) | autoconf -d | Retain temporary files for inspection |
| Force regeneration | autoconf -f | Treat all files as obsolete |
| Trace macro calls | autoconf -t MACRO | List calls to a specific macro |
| Add to search path | autoconf -I /path/to/dir | Append directory to search path |
| Show warnings | autoconf -W all | Show all warnings |
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'.
-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
cross 🌐 cross compilation issuesgnu 🐃 GNU coding standards (default in gnu and gnits modes)obsolete ⌛ obsolete features or constructions (default)override 🔄 user redefinitions of Automake rules or variablesportability 🚢 portability issues (default in gnu and gnits modes)portability-recursive 🔁 nested Make variables (default with -Wportability)extra-portability 🌍 extra portability issues related to obscure toolssyntax ⚠️ dubious syntactic constructs (default)unsupported 🚫 unsupported or incomplete features (default)all 📢 all the warningsno-CATEGORY ❌ turn off warnings in CATEGORYnone ⛔ turn off all the warningsThe environment variables 'M4' and 'WARNINGS' are honored.
-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.
Report bugs to <bug-autoconf AT gnu.org>.
GNU Autoconf home page: <https://www.gnu.org/software/autoconf/>.
General help using GNU software: <https://www.gnu.org/gethelp/>.
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.
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.
Generated by phpman v4.9.22-1-g1b0fcb4 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-05 08:59 @216.73.216.52
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format