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

Diff of /eclass/autotools.eclass

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

Revision 1.55 Revision 1.56
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.55 2006/10/27 14:19:07 peper Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.56 2006/11/01 10:58:46 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
198 einfo "Using $(autoconf --version 2>/dev/null | head -n 1)" 198 einfo "Using $(autoconf --version 2>/dev/null | head -n 1)"
199 einfo "Using $(autoheader --version 2>/dev/null | head -n 1)" 199 einfo "Using $(autoheader --version 2>/dev/null | head -n 1)"
200 fi 200 fi
201 201
202 if [[ -n ${WANT_AUTOMAKE} ]]; then 202 if [[ -n ${WANT_AUTOMAKE} ]]; then
203 local latest_automake
203 if [[ ${WANT_AUTOMAKE} == "latest" ]]; then 204 if [[ ${WANT_AUTOMAKE} == "latest" ]]; then
205 latest_automake="latest: "
204 for amver in 1.10 1.9 1.8 1.7 1.6; do 206 for amver in 1.10 1.9 1.8 1.7 1.6; do
205 WANT_AUTOMAKE="${amver}" 207 WANT_AUTOMAKE="${amver}"
206 ROOT=/ has_version =sys-devel/automake-${amver}* && break 208 ROOT=/ has_version =sys-devel/automake-${amver}* && break
207 done 209 done
208 fi 210 fi
209 export WANT_AUTOMAKE 211 export WANT_AUTOMAKE
210 einfo "Requested automake ${WANT_AUTOMAKE}" 212 einfo "Requested automake ${latest_automake}${WANT_AUTOMAKE}"
211 einfo "Using $(automake --version 2>/dev/null | head -n 1)" 213 einfo "Using $(automake --version 2>/dev/null | head -n 1)"
212 einfo "Using $(aclocal --version 2>/dev/null | head -n 1)" 214 einfo "Using $(aclocal --version 2>/dev/null | head -n 1)"
213 fi 215 fi
214 216
215 autotools_version_sets="yes" 217 autotools_version_sets="yes"

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.20