autoreconf Best Practice?
Toshio Kuratomi
toshio at tiki-lounge.com
Sat Jul 17 15:53:18 UTC 2004
Some months ago I asked whether patching or rerunning the auto* tools was
the better method when modifying build files in a spec file. This
question is for those that thought that using the auto* tools was the right
way to go.
I've recently run across autoreconf [1]_ in the autoconf toolset and
wondered if the best way to rebuild build scripts would be something like::
%setup
# Patch to configure.in, Makefile.am, etc
%patch0 -p1
%build
autoreconf
...
Is this cleaner than using libtoolize --force or autogen.sh?
If so, are there some options that would be appropriate to always pass to
autoreconf? --force --install seem like likely candidates.
Thanks for input,
-Toshio
[1] http://www.freebsdchina.org/utils/phpMan.php/info/autoreconf
More information about the fedora-devel-list
mailing list