Gentoo Archives: gentoo-alt

From: Dirk Tilger <dirk@××××××.de>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] automake run after autoconf?
Date: Sat, 10 Nov 2007 19:47:39
Message-Id: 20071110194703.GA5740@miriup.de
1 Hi,
2
3 I just got really confused. I was just working on
4 http://bugs.gentoo.org/show_bug.cgi?id=195761 and despite mentioning in
5 comment #8 that the compilation breaks, I tried to verify at least that
6 it would work by checking if Makefile.in is properly generated from
7 Makefile.am.
8
9 Since it is not and I was also not seeing a call to automake I had a
10 look at ${EPREFIX}/usr/portage/eclass/autotools.eclass. Judged by what I
11 see between line 76-106 there and taking into account what happens in
12 libtool.eclass line 116-375 it looks to me that autoconf is always
13 called before automake and would thus be effectively preventing any
14 propagation of changes from Makefile.am's.
15
16 It would work though, if there are eventually dependencies generated in
17 the Makefile to rebuild and rerun configure if these files changed, but
18 I don't remember to have seen that (running configure twice and
19 optionally loosing CFLAGS) in the past.
20
21 I would be very delighted if someone could let me know what I'm not
22 getting. I'm using revision 12104 of both eclasses.
23
24 Thanks,
25 Dirk.
26 --
27 gentoo-alt@g.o mailing list