From patchwork Wed Oct 17 11:33:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morten Svendsen X-Patchwork-Id: 192018 X-Patchwork-Delegate: esben@haabendal.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [130.225.254.102]) by ozlabs.org (Postfix) with ESMTP id CD9892C0082 for ; Wed, 17 Oct 2012 22:33:41 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 9E0F03FA0B for ; Wed, 17 Oct 2012 13:33:40 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail02.prevas.se (mail02.prevas.se [62.95.78.10]) by hugin.dotsrc.org (Postfix) with ESMTPS id 166F73FE71 for ; Wed, 17 Oct 2012 13:33:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=1278; q=dns/txt; s=ironport2; t=1350473617; x=1382009617; h=from:to:subject:date:message-id:in-reply-to:references: mime-version; bh=mDqyD4GFAxa1fIvOH5QmDb8uBt/DE8pLCZcQjd0UcdY=; b=UfnSUzd+MVckS5BrXGrAFMClcCWCSqiuJM6qBfelsHQHE4Tg1Or4D/Jh gBVpAAf7g591hhPRuxfg+tAtRNL6EWS2nPhiL2WaipRcTYgHgPtHnRf+o PGA7k01W6u/+GVk; X-IronPort-AV: E=Sophos;i="4.80,600,1344204000"; d="scan'208";a="1731963" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport2.prevas.se with ESMTP/TLS/AES128-SHA; 17 Oct 2012 13:33:37 +0200 Received: from fire.prevas.dk (172.16.10.61) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server (TLS) id 14.2.318.1; Wed, 17 Oct 2012 13:33:36 +0200 From: Morten Thunberg Svendsen To: Subject: [PATCH 3/4] classes/autotools-autoreconf: Allow owerwrite the autoreconf command Date: Wed, 17 Oct 2012 13:33:29 +0200 Message-ID: X-Mailer: git-send-email 1.7.10 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [172.16.10.61] X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org Allows for recipes needing special auto tools command sequence --- classes/autotools-autoreconf.oeclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/classes/autotools-autoreconf.oeclass b/classes/autotools-autoreconf.oeclass index 825e8e4..1773ec4 100644 --- a/classes/autotools-autoreconf.oeclass +++ b/classes/autotools-autoreconf.oeclass @@ -6,6 +6,10 @@ CLASS_DEPENDS += "${DEPENDS_AUTORECONF}" DEPENDS_AUTORECONF ?= "native:glib-dev" EXTRA_AUTORECONF = "" +AUTORECONF_CMD ?= "autoreconf --verbose --install --force \ + ${EXTRA_AUTORECONF} $acpaths \ +" + acpaths = "__default__" pkgltdldir = "${STAGE_DIR}/${HOST_CROSS}${stage_datadir}/libtool" @@ -76,9 +80,7 @@ do_autoreconf () { export _lt_pkgdatadir="${pkgltdldir}" fi oenote Executing autoreconf - autoreconf --verbose --install --force \ - ${EXTRA_AUTORECONF} $acpaths \ - || oefatal "autoreconf execution failed." + eval "${AUTORECONF_CMD}" || oefatal 'autoreconf execution failed.' if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then oenote Executing intltoolize intltoolize --copy --force --automake