/[gentoo-x86]/eclass/autotools.eclass
Gentoo

Diff of /eclass/autotools.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.53 Revision 1.54
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.53 2006/10/26 22:05:21 peper Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.54 2006/10/26 22:39:35 flameeyes Exp $
4# 4#
5# Author: Diego Pettenò <flameeyes@gentoo.org> 5# Author: Diego Pettenò <flameeyes@gentoo.org>
6# Enhancements: Martin Schlemmer <azarah@gentoo.org> 6# Enhancements: Martin Schlemmer <azarah@gentoo.org>
7# 7#
8# This eclass is for handling autotooled software packages that 8# This eclass is for handling autotooled software packages that
200 fi 200 fi
201 201
202 if [[ -n ${WANT_AUTOMAKE} ]]; then 202 if [[ -n ${WANT_AUTOMAKE} ]]; then
203 if [[ ${WANT_AUTOMAKE} == "latest" ]]; then 203 if [[ ${WANT_AUTOMAKE} == "latest" ]]; then
204 for amver in 1.10 1.9 1.8 1.7 1.6; do 204 for amver in 1.10 1.9 1.8 1.7 1.6; do
205 WANT_AUTOMAKE="${amver}"
205 has_version "=sys-devel/automake-${amver}*" && \ 206 ROOT=/ has_version =sys-devel/automake-${amver}* && break
206 WANT_AUTOMAKE="${amver}" && break
207 done 207 done
208 fi 208 fi
209 export WANT_AUTOMAKE 209 export WANT_AUTOMAKE
210 einfo "Requested automake ${WANT_AUTOMAKE}" 210 einfo "Requested automake ${WANT_AUTOMAKE}"
211 einfo "Using $(automake --version 2>/dev/null | head -n 1)" 211 einfo "Using $(automake --version 2>/dev/null | head -n 1)"

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20