Gentoo Archives: gentoo-dev

From: flameeyes@gmail.com (Diego 'Flameeyes' =?utf-8?Q?Petten=C3=B2?=)
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Reminder: re-run autotools if you change Makefile.am/configure.ac!
Date: Mon, 21 Apr 2008 14:43:27
Message-Id: m2od83jmkv.fsf@gmail.com
1 Please remember to re-run autotools if you change Makefile.am and/or
2 configure.ac (or configure.in if the package uses the old name, or
3 configure.in.in for KDE-based packages). Especially with autoconf 2.62
4 release this becomes important as some package might try to re-run
5 autotools on its own and find different versions, dying of an horrible
6 death.
7
8 Also, remember that unless the package you're using is _not_ using
9 automake (and thus aclocal), you should not run eautoconf, but
10 eautoreconf instead. In general if you're unsure, just run eautoreconf.
11
12 Exception can be made if you only touch Makefile.am, eautomake knows to
13 run eautoreconf if the versions of the tools has changed, but again if
14 you're unsure, just run eautoreconf.
15
16 Yeah of course it makes waste time to the users to re-run autotools
17 entirely, but it's better making every user waste those 30 seconds
18 rather than having users complain that $foo doesn't build at the next
19 autoconf bump. Or right now considering the amount of packages that
20 fails with autoconf 2.62.
21
22 --
23 Diego "Flameeyes" Pettenò
24 http://blog.flameeyes.eu/