From Fedora Project Wiki
(Imported from MoinMoin)
m (1 revision(s))
(No difference)

Revision as of 16:27, 24 May 2008

Using autoconf / automake in spec files

This document seeks to document the usage of autoconf / automake during a package build in Fedora, i.e. the usage of older packages like autoconf213 and automake1{4,5,6,7}


  • autoconf / automake can by used for many Fedora packages to create configure scripts and Makefiles. The resulting configure scripts and Makefiles might be different on systems with a different set of installed packages and thus might lead to unpredictable results.
  • some packages use old autoconf / automake versions in order to build their configure scripts and Makefiles. Some of these older helper tools aren't multilib capable and patches need to be applied to be able to build the package on multilib systems. Upstream doesn't maintain these tools anymore and so the tools won't get any bugfixes.


  • autoconf / automake and the accompanying autoreconf shouldn't be used in the %prep or %build sections of a packages spec file. Applying a patch to update the

configure scripts and Makefiles is preferred as the results are predictable and packages are more reproducable.

  • Package maintainers should work with upstream to port the scripts to recent autoconf /automake. Sometimes this won't work due to time constraints or due to compatibility concerns for multi-platform packages such as p.e. Firefox, but at least an attempt should be made.

Further reading

Updating from autoconf213 to a recent version is covered at

Tips to update from older automake versions are available at . The NEWS file in the latest automake package also lists differences between the versions and gives some hint what one has to look out for.