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

Diff of /eclass/autotools.eclass

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

Revision 1.93 Revision 1.94
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.93 2010/03/07 17:42:39 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.94 2010/03/07 17:43:11 vapier 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
15inherit eutils libtool 15inherit eutils libtool
16 16
17# @ECLASS-VARIABLE: WANT_AUTOCONF 17# @ECLASS-VARIABLE: WANT_AUTOCONF
18# @DESCRIPTION: 18# @DESCRIPTION:
19# The major version of autoconf your package needs 19# The major version of autoconf your package needs
20[[ -z ${WANT_AUTOCONF} ]] && WANT_AUTOCONF="latest" 20: ${WANT_AUTOCONF:=latest}
21 21
22# @ECLASS-VARIABLE: WANT_AUTOMAKE 22# @ECLASS-VARIABLE: WANT_AUTOMAKE
23# @DESCRIPTION: 23# @DESCRIPTION:
24# The major version of automake your package needs 24# The major version of automake your package needs
25[[ -z ${WANT_AUTOMAKE} ]] && WANT_AUTOMAKE="latest" 25: ${WANT_AUTOMAKE:=latest}
26 26
27_automake_atom="sys-devel/automake" 27_automake_atom="sys-devel/automake"
28_autoconf_atom="sys-devel/autoconf" 28_autoconf_atom="sys-devel/autoconf"
29if [[ -n ${WANT_AUTOMAKE} ]]; then 29if [[ -n ${WANT_AUTOMAKE} ]]; then
30 case ${WANT_AUTOMAKE} in 30 case ${WANT_AUTOMAKE} in
54# @ECLASS-VARIABLE: AUTOTOOLS_AUTO_DEPEND 54# @ECLASS-VARIABLE: AUTOTOOLS_AUTO_DEPEND
55# @DESCRIPTION: 55# @DESCRIPTION:
56# Set to 'no' to disable automatically adding to DEPEND. This lets 56# Set to 'no' to disable automatically adding to DEPEND. This lets
57# ebuilds former conditional depends by using ${AUTOTOOLS_DEPEND} in 57# ebuilds former conditional depends by using ${AUTOTOOLS_DEPEND} in
58# their own DEPEND string. 58# their own DEPEND string.
59: ${AUTOTOOLS_AUTO_DEPEND:=yes}
59if [[ ${AUTOTOOLS_AUTO_DEPEND} != "no" ]] ; then 60if [[ ${AUTOTOOLS_AUTO_DEPEND} != "no" ]] ; then
60 DEPEND=${AUTOTOOLS_DEPEND} 61 DEPEND=${AUTOTOOLS_DEPEND}
61fi 62fi
62 63
63unset _automake_atom _autoconf_atom 64unset _automake_atom _autoconf_atom
75 76
76# XXX: M4DIR should be deprecated 77# XXX: M4DIR should be deprecated
77# @ECLASS-VARIABLE: AT_M4DIR 78# @ECLASS-VARIABLE: AT_M4DIR
78# @DESCRIPTION: 79# @DESCRIPTION:
79# Additional director(y|ies) aclocal should search 80# Additional director(y|ies) aclocal should search
80AT_M4DIR=${AT_M4DIR:-${M4DIR}} 81: ${AT_M4DIR:=${M4DIR}}
81AT_GNUCONF_UPDATE="no" 82AT_GNUCONF_UPDATE="no"
82 83
83 84
84# @FUNCTION: eautoreconf 85# @FUNCTION: eautoreconf
85# @DESCRIPTION: 86# @DESCRIPTION:

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94

  ViewVC Help
Powered by ViewVC 1.1.20