From patchwork Wed May 4 13:01:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Elo, Matias \(Nokia - FI/Espoo\)" X-Patchwork-Id: 67130 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp167832qge; Wed, 4 May 2016 06:02:09 -0700 (PDT) X-Received: by 10.50.55.6 with SMTP id n6mr10907286igp.60.1462366929026; Wed, 04 May 2016 06:02:09 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 34si4221031ioh.27.2016.05.04.06.02.08; Wed, 04 May 2016 06:02:08 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE dis=NONE) header.from=nokia.com Received: by lists.linaro.org (Postfix, from userid 109) id DEDBE615C9; Wed, 4 May 2016 13:02:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 634AA611FE; Wed, 4 May 2016 13:01:58 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id C8BBA6156D; Wed, 4 May 2016 13:01:51 +0000 (UTC) Received: from demumfd001.nsn-inter.net (demumfd001.nsn-inter.net [93.183.12.32]) by lists.linaro.org (Postfix) with ESMTPS id BED96611FC for ; Wed, 4 May 2016 13:01:49 +0000 (UTC) Received: from demuprx017.emea.nsn-intra.net ([10.150.129.56]) by demumfd001.nsn-inter.net (8.15.2/8.15.2) with ESMTPS id u44D1mv9015965 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 4 May 2016 13:01:48 GMT Received: from 10.144.19.15 ([10.144.104.109]) by demuprx017.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id u44D1lGV012129 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 4 May 2016 15:01:47 +0200 From: Matias Elo To: lng-odp@lists.linaro.org Date: Wed, 4 May 2016 16:01:46 +0300 Message-Id: <1462366907-28457-1-git-send-email-matias.elo@nokia.com> X-Mailer: git-send-email 1.9.1 X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-size: 640 X-purgate-ID: 151667::1462366908-00001B3D-2BBFBB1F/0/0 X-Topics: Architecture patch Subject: [lng-odp] [PATCH 1/2] configure: detect ARCH correctly for 32-bit x86 hosts X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Currently, 32-bit x86 host may end up using linux ARCH as the host identifier is not recognized. Fix this by mapping i686* to ARCH x86. Signed-off-by: Matias Elo Reviewed-by: Bill Fischofer --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 723c957..5e7e380 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,7 @@ AX_VALGRIND_CHECK ########################################################################## AS_CASE([$host], [x86*], [ARCH=x86], + [i686*], [ARCH=x86], [mips64*], [ARCH=mips64], [powerpc*], [ARCH=powerpc], [ARCH=linux]