[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

autoreconf Best Practice?



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]