LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

autoreconf

Regenerate autotools build system files

TLDR

Regenerate all autotools files
$ autoreconf
copy
Regenerate with install of missing files
$ autoreconf --install
copy
Force regeneration
$ autoreconf --force --install
copy
Regenerate verbosely
$ autoreconf --install --verbose
copy

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
When used with --install, install symbolic links instead of copying auxiliary files
-I dir, --include=dir
Append dir to the include path searched by aclocal, autoconf, and autoheader
-m, --make
When applicable, run ./config.status --recheck and ./config.status, then make to update everything
-W category, --warnings=category
Report the warnings in category (all, none, error, or a specific category)
-d, --debug
Don't remove the temporary files
--no-recursive
Don't rebuild files in subdirectories (configured packages)

WORKFLOW

Typical usage when building from git:

$ autoreconf --install
./configure
make
copy

INSTALL

sudo dnf install autoconf
copy
sudo pacman -S autoconf
copy
sudo apk add autoconf
copy
sudo zypper install autoconf
copy
brew install autoconf
copy
nix profile install nixpkgs#autoconf
copy

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

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid