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

Diff of /eclass/autotools.eclass

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

Revision 1.96 Revision 1.97
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.96 2010/04/01 10:12:36 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.97 2010/04/01 21:42:37 robbat2 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
278 278
279 # We do the “latest” → version switch here because it solves 279 # We do the “latest” → version switch here because it solves
280 # possible order problems, see bug #270010 as an example. 280 # possible order problems, see bug #270010 as an example.
281 if [[ ${WANT_AUTOMAKE} == "latest" ]]; then 281 if [[ ${WANT_AUTOMAKE} == "latest" ]]; then
282 for pv in ${_LATEST_AUTOMAKE} ; do 282 for pv in ${_LATEST_AUTOMAKE} ; do
283 # has_version respects ROOT, but in this case, we don't want it to,
284 # thus "ROOT=/" prefix:
283 has_version "=sys-devel/automake-${pv}*" && export WANT_AUTOMAKE="$pv" 285 ROOT=/ has_version "=sys-devel/automake-${pv}*" && export WANT_AUTOMAKE="$pv"
284 done 286 done
285 unset pv 287 unset pv
286 [[ ${WANT_AUTOMAKE} == "latest" ]] && \ 288 [[ ${WANT_AUTOMAKE} == "latest" ]] && \
287 die "Cannot find the latest automake! Tried ${_LATEST_AUTOMAKE}" 289 die "Cannot find the latest automake! Tried ${_LATEST_AUTOMAKE}"
288 fi 290 fi

Legend:
Removed from v.1.96  
changed lines
  Added in v.1.97

  ViewVC Help
Powered by ViewVC 1.1.20