diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-22 22:25:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-22 22:25:06 +0000 |
commit | 6c4d3c893c88199056725d389159e15d96f44ad2 (patch) | |
tree | 44f30b6badf8ae5b53b541f6c77c5d9d7e6e2aeb /eclass | |
parent | Typo fixed. Bug #148413 thanks to Jimmy.Jazz@gmx.net (diff) | |
download | gentoo-2-6c4d3c893c88199056725d389159e15d96f44ad2.tar.gz gentoo-2-6c4d3c893c88199056725d389159e15d96f44ad2.tar.bz2 gentoo-2-6c4d3c893c88199056725d389159e15d96f44ad2.zip |
add support for WANT_AUTO{MAKE,CONF}=latest
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/autotools.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 68b91829f439..551d92db176b 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.44 2006/09/21 03:06:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.45 2006/09/22 22:25:06 vapier Exp $ # # Author: Diego Pettenò <flameeyes@gentoo.org> # Enhancements: Martin Schlemmer <azarah@gentoo.org> @@ -12,10 +12,13 @@ inherit eutils libtool +[[ ${WANT_AUTOMAKE} == "latest" ]] && export WANT_AUTOMAKE=1.9 +[[ ${WANT_AUTOCONF} == "latest" ]] && export WANT_AUTOCONF=2.5 + _automake_atom="sys-devel/automake" _autoconf_atom="sys-devel/autoconf" [[ -n ${WANT_AUTOMAKE} ]] && _automake_atom="=sys-devel/automake-${WANT_AUTOMAKE}*" -if [[ -n ${WANT_AUTOCONF} ]]; then +if [[ -n ${WANT_AUTOCONF} ]] ; then case ${WANT_AUTOCONF} in 2.1) _autoconf_atom="=sys-devel/autoconf-${WANT_AUTOCONF}*" ;; 2.5) _autoconf_atom=">=sys-devel/autoconf-2.59" ;; |