On Fri, 2017-03-10 at 10:05 +0100, Olaf Hering wrote:
Am Fri, 10 Mar 2017 16:45:55 +0800 schrieb Felix Zhang
: I understand there must be good reasons not updating autotools. So my question is, what's a good way to get around such failures please?
Always run 'autoreconf -fi' before running %configure, there is nothing wrong with that. And if one patches configure.ac or Makefile.am anyway its unavoidable.
Always? I'd only do it if needed - so if you patch either configure.ac
or any of the Makefile.am files.
It requires a larger stack in the Buildrequires (automake, autoconf,
libtool) and in some cases even more - hence, 'always' running
autpreconf does not appear like a sound advise.
If you meant to write to always call it when the buildsystem is being
changed, then yes: do not rely on configure's built-in detection of the
need.
Cheers,
Dominique
--
Dimstar / Dominique Leuenberger