LinuxCommandLibrary
GitHub F-Droid Google 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

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)

RESOURCES

Homepage · Documentation

Copied to clipboard
Kai

AltStyle によって変換されたページ (->オリジナル) /