autoreconf
Regenerate autotools build system files
TLDR
Regenerate all autotools files
$ autoreconf
Regenerate with install of missing files$ autoreconf --install
Force regeneration$ autoreconf --force --install
Regenerate verbosely$ autoreconf --install --verbose
SYNOPSIS
autoreconf [-f] [-i] [-v] [options]
DESCRIPTION
autoreconf runs autoconf, autoheader, automake, and related tools in the correct order. It's the recommended way to regenerate configure scripts and related files in autotools projects.
The tool automatically determines which programs to run based on project configuration.
PARAMETERS
-i, --install
Add missing auxiliary files-f, --force
Force regeneration even if files are current-v, --verbose
Verbose output-s, --symlink
Use symlinks instead of copies for auxiliary files-W category
Warning level--no-recursive
Don't recurse into subdirectories
WORKFLOW
Typical usage when building from git:
$ autoreconf --install
./configure
make
./configure
make
CAVEATS
Requires autoconf, automake, and related tools installed. Can be slow on large projects. Modern alternatives (CMake, Meson) are often easier.
HISTORY
autoreconf was added to autoconf to simplify the complex process of regenerating autotools files in the correct order.
SEE ALSO
autoconf(1), automake(1), libtoolize(1)
