summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-10-08 16:02:13 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-10-08 16:02:13 +0000
commit0f20b113377dc57604fd57c675260965bdfaa7cb (patch)
tree7e824d90aa14a8f7b9c8b9bfaca8efb09e989384 /eclass/autotools.eclass
parentebuild cleanup. New version. (diff)
downloadhistorical-0f20b113377dc57604fd57c675260965bdfaa7cb.tar.gz
historical-0f20b113377dc57604fd57c675260965bdfaa7cb.tar.bz2
historical-0f20b113377dc57604fd57c675260965bdfaa7cb.zip
Added ${AM_OPTS} variable to pass extra options to automake, such as --foreign and similar.
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index ccc4486ceefb..4c0a314fd07a 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.22 2005/10/08 11:18:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.23 2005/10/08 16:02:13 flameeyes Exp $
#
# Author: Diego Pettenò <flameeyes@gentoo.org>
# Enhancements: Martin Schlemmer <azarah@gentoo.org>
@@ -23,6 +23,8 @@ inherit eutils gnuconfig
# AT_M4DIR - Additional director(y|ies) aclocal should search
# AT_GNUCONF_UPDATE - Should gnuconfig_update() be run (normally handled by
# econf()) [yes|no]
+# AM_OPTS - Additional options to pass to automake during
+# eautoreconf call.
# Functions:
#
@@ -64,7 +66,7 @@ eautoreconf() {
_elibtoolize --copy --force
eautoconf
eautoheader
- eautomake
+ eautomake ${AM_OPTS}
# Normally run by econf()
[[ ${AT_GNUCONF_UPDATE} == "yes" ]] && gnuconfig_update