diff options
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" ;; |