From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: autotools.eclass |
Date: | Tue, 22 Apr 2008 22:38:24 |
Message-Id: | E1JoR82-0003X7-IY@stork.gentoo.org |
1 | vapier 08/04/22 22:38:22 |
2 | |
3 | Modified: autotools.eclass |
4 | Log: |
5 | rip out ACLOCAL_AMFLAGS from Makefiles #142787 |
6 | |
7 | Revision Changes Path |
8 | 1.74 eclass/autotools.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?rev=1.74&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?rev=1.74&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?r1=1.73&r2=1.74 |
13 | |
14 | Index: autotools.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v |
17 | retrieving revision 1.73 |
18 | retrieving revision 1.74 |
19 | diff -u -r1.73 -r1.74 |
20 | --- autotools.eclass 31 Mar 2008 14:19:35 -0000 1.73 |
21 | +++ autotools.eclass 22 Apr 2008 22:38:22 -0000 1.74 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2008 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.73 2008/03/31 14:19:35 vapier Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.74 2008/04/22 22:38:22 vapier Exp $ |
27 | # |
28 | # Maintainer: base-system@g.o |
29 | # |
30 | @@ -117,6 +117,13 @@ |
31 | eaclocal() { |
32 | local aclocal_opts |
33 | |
34 | + local amflags_file |
35 | + for amflags_file in GNUmakefile.am Makefile.am GNUmakefile.in Makefile.in ; do |
36 | + [[ -e ${amflags_file} ]] || continue |
37 | + aclocal_opts=$(sed -n '/^ACLOCAL_AMFLAGS[[:space:]]*=/s:[^=]*=::p' ${amflags_file}) |
38 | + break |
39 | + done |
40 | + |
41 | if [[ -n ${AT_M4DIR} ]] ; then |
42 | for x in ${AT_M4DIR} ; do |
43 | case "${x}" in |
44 | |
45 | |
46 | |
47 | -- |
48 | gentoo-commits@l.g.o mailing list |