From 0f20b113377dc57604fd57c675260965bdfaa7cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sat, 8 Oct 2005 16:02:13 +0000 Subject: [PATCH] Added ${AM_OPTS} variable to pass extra options to automake, such as --foreign and similar. --- eclass/autotools.eclass | 6 ++++-- 1 file 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ò # Enhancements: Martin Schlemmer @@ -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 -- 2.26.2