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

Diff of /eclass/autotools.eclass

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

Revision 1.52 Revision 1.53
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.52 2006/10/25 18:30:01 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.53 2006/10/26 22:05:21 peper 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 has_version "=sys-devel/automake-${amver}*" && \
205 WANT_AUTOMAKE="${amver}" 206 WANT_AUTOMAKE="${amver}" && break
206 if WANT_AUTOMAKE="${amver}" automake --version &> /dev/null; then
207 break
208 fi
209 done 207 done
210 fi 208 fi
211 export WANT_AUTOMAKE 209 export WANT_AUTOMAKE
212 einfo "Requested automake ${WANT_AUTOMAKE}" 210 einfo "Requested automake ${WANT_AUTOMAKE}"
213 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.52  
changed lines
  Added in v.1.53

  ViewVC Help
Powered by ViewVC 1.1.20