From patchwork Fri Oct 5 09:51:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morten Svendsen X-Patchwork-Id: 189453 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 04B632C0040 for ; Fri, 5 Oct 2012 19:51:55 +1000 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 21BCB3FC9E for ; Fri, 5 Oct 2012 11:51:54 +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 D6ED93FB5C for ; Fri, 5 Oct 2012 11:51:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=1299; q=dns/txt; s=ironport2; t=1349430711; x=1380966711; h=from:to:subject:date:message-id:in-reply-to:references: mime-version; bh=0ASZViS+0V3W1FL1k5IpFOXdgqh80obZwcS/3qmzGyU=; b=TE0fKZoqim/LEB1Av3cJsQAmQDcUg+Hxsa55by5IwUPK3SA8rf5KkOl7 hKaDlwTECLaNoQ0/Y9LcSmlOonsW43mBsEHNadi712USoXs9Nu4fXA78/ U30ifDwt++GdPQS; X-IronPort-AV: E=Sophos;i="4.80,541,1344204000"; d="scan'208";a="1700488" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport2.prevas.se with ESMTP/TLS/AES128-SHA; 05 Oct 2012 11:51:51 +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; Fri, 5 Oct 2012 11:51:51 +0200 From: Morten Thunberg Svendsen To: Subject: [PATCH 1/4] classes/autotools-autoreconf: Allow owerwrite the autoreconf command Date: Fri, 5 Oct 2012 11:51:34 +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..6ff7469 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 ?= "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}" || oefatal 'autoreconf execution failed.' if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then oenote Executing intltoolize intltoolize --copy --force --automake