summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index fafecc500b3c..cba6e0e07393 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.93 2010/03/07 17:42:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.94 2010/03/07 17:43:11 vapier Exp $
# @ECLASS: autotools.eclass
# @MAINTAINER:
@@ -17,12 +17,12 @@ inherit eutils libtool
# @ECLASS-VARIABLE: WANT_AUTOCONF
# @DESCRIPTION:
# The major version of autoconf your package needs
-[[ -z ${WANT_AUTOCONF} ]] && WANT_AUTOCONF="latest"
+: ${WANT_AUTOCONF:=latest}
# @ECLASS-VARIABLE: WANT_AUTOMAKE
# @DESCRIPTION:
# The major version of automake your package needs
-[[ -z ${WANT_AUTOMAKE} ]] && WANT_AUTOMAKE="latest"
+: ${WANT_AUTOMAKE:=latest}
_automake_atom="sys-devel/automake"
_autoconf_atom="sys-devel/autoconf"
@@ -56,6 +56,7 @@ RDEPEND=""
# Set to 'no' to disable automatically adding to DEPEND. This lets
# ebuilds former conditional depends by using ${AUTOTOOLS_DEPEND} in
# their own DEPEND string.
+: ${AUTOTOOLS_AUTO_DEPEND:=yes}
if [[ ${AUTOTOOLS_AUTO_DEPEND} != "no" ]] ; then
DEPEND=${AUTOTOOLS_DEPEND}
fi
@@ -77,7 +78,7 @@ unset _automake_atom _autoconf_atom
# @ECLASS-VARIABLE: AT_M4DIR
# @DESCRIPTION:
# Additional director(y|ies) aclocal should search
-AT_M4DIR=${AT_M4DIR:-${M4DIR}}
+: ${AT_M4DIR:=${M4DIR}}
AT_GNUCONF_UPDATE="no"