Files
cheatsheet-tldr/tldr/autoconf
2025-03-27 00:18:38 +00:00

22 lines
709 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# autoconf
> Generate configuration scripts to automatically configure software source code packages.
> More information: <https://manned.org/autoconf>.
- Generate a configuration script from `configure.ac` (if present) or `configure.in` and save this script to `configure`:
`autoconf`
- Generate a configuration script from the specified template; output to `stdout`:
`autoconf {{template-file}}`
- Generate a configuration script from the specified template (even if the input file has not changed) and write the output to a file:
`autoconf {{[-f|--force]}} {{[-o|--output]}} {{outfile}} {{template-file}}`