| 1 | # Copyright 1999-2010 Gentoo Foundation |
1 | # Copyright 1999-2010 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.99 2010/07/06 18:55:50 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.101 2010/08/21 19:39:52 vapier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: autotools.eclass |
5 | # @ECLASS: autotools.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # base-system@gentoo.org |
7 | # base-system@gentoo.org |
| 8 | # @BLURB: Regenerates auto* build scripts |
8 | # @BLURB: Regenerates auto* build scripts |
| … | |
… | |
| 23 | # @DESCRIPTION: |
23 | # @DESCRIPTION: |
| 24 | # The major version of automake your package needs |
24 | # The major version of automake your package needs |
| 25 | : ${WANT_AUTOMAKE:=latest} |
25 | : ${WANT_AUTOMAKE:=latest} |
| 26 | |
26 | |
| 27 | # @ECLASS-VARIABLE: _LATEST_AUTOMAKE |
27 | # @ECLASS-VARIABLE: _LATEST_AUTOMAKE |
|
|
28 | # @INTERNAL |
| 28 | # @DESCRIPTION: |
29 | # @DESCRIPTION: |
| 29 | # CONSTANT! |
30 | # CONSTANT! |
| 30 | # The latest major version/slot of automake available on each arch. |
31 | # The latest major version/slot of automake available on each arch. |
| 31 | # If a newer version is stable on any arch, and is NOT reflected in this list, |
32 | # If a newer version is stable on any arch, and is NOT reflected in this list, |
| 32 | # then circular dependencies may arise during emerge @system bootstraps. |
33 | # then circular dependencies may arise during emerge @system bootstraps. |
| … | |
… | |
| 72 | fi |
73 | fi |
| 73 | |
74 | |
| 74 | unset _automake_atom _autoconf_atom |
75 | unset _automake_atom _autoconf_atom |
| 75 | |
76 | |
| 76 | # @ECLASS-VARIABLE: AM_OPTS |
77 | # @ECLASS-VARIABLE: AM_OPTS |
|
|
78 | # @DEFAULT_UNSET |
| 77 | # @DESCRIPTION: |
79 | # @DESCRIPTION: |
| 78 | # Additional options to pass to automake during |
80 | # Additional options to pass to automake during |
| 79 | # eautoreconf call. |
81 | # eautoreconf call. |
| 80 | |
82 | |
| 81 | # @ECLASS-VARIABLE: AT_NOELIBTOOLIZE |
83 | # @ECLASS-VARIABLE: AT_NOELIBTOOLIZE |
|
|
84 | # @DEFAULT_UNSET |
| 82 | # @DESCRIPTION: |
85 | # @DESCRIPTION: |
| 83 | # Don't run elibtoolize command if set to 'yes', |
86 | # Don't run elibtoolize command if set to 'yes', |
| 84 | # useful when elibtoolize needs to be ran with |
87 | # useful when elibtoolize needs to be ran with |
| 85 | # particular options |
88 | # particular options |
| 86 | |
89 | |
| 87 | # XXX: M4DIR should be deprecated |
90 | # XXX: M4DIR should be deprecated |
| 88 | # @ECLASS-VARIABLE: AT_M4DIR |
91 | # @ECLASS-VARIABLE: AT_M4DIR |
| 89 | # @DESCRIPTION: |
92 | # @DESCRIPTION: |
| 90 | # Additional director(y|ies) aclocal should search |
93 | # Additional director(y|ies) aclocal should search |
| 91 | : ${AT_M4DIR:=${M4DIR}} |
94 | : ${AT_M4DIR:=${M4DIR}} |
| 92 | AT_GNUCONF_UPDATE="no" |
|
|
| 93 | |
|
|
| 94 | |
95 | |
| 95 | # @FUNCTION: eautoreconf |
96 | # @FUNCTION: eautoreconf |
| 96 | # @DESCRIPTION: |
97 | # @DESCRIPTION: |
| 97 | # This function mimes the behavior of autoreconf, but uses the different |
98 | # This function mimes the behavior of autoreconf, but uses the different |
| 98 | # eauto* functions to run the tools. It doesn't accept parameters, but |
99 | # eauto* functions to run the tools. It doesn't accept parameters, but |