From patchwork Mon Jul 28 13:30:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 34366 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4414820AE8 for ; Mon, 28 Jul 2014 13:30:39 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id b6sf26541172yha.9 for ; Mon, 28 Jul 2014 06:30:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=2KjHJFghgI0qFn5/v5B7VcpKUQwYiPctW9IALRshHwI=; b=U+GC5MsUpkylLDAv68AycuiTAjWVrsJDMKbenTW1XwGgIbusHim7nYh/o2Fe+OUpqd ZzxzWKONzj7WFcwaKngGxei00p0i1VgBGBTBa+lZit4tWY2g79NDvpK2hCxLAd8Qd0uQ tJHk3RoNbpXYCyHX1FisavUS66DVcQGdgi+zJ0y1osyHSxHZ2VM6lMtQ84MD4yrUkdsM xZOrIAXtIGleWPEvS//OlZdmDaAh117/gEbDIpStuKxROJYIjGb2dqDwZDDehhLwm8gD ZIUBLnWARkBnw22A+xKiRAmXWlqhgOwt22R4Ood8sVM6iXPQN71sMWpIK1AmMI8xWkdF KF8Q== X-Gm-Message-State: ALoCoQnaFNz8UU1EUpQT80lpW3AMgi+QpDFx+v5n5vfI8o1/LYFZnpVs/ILmNKwIuijVi/wOw13y X-Received: by 10.52.145.161 with SMTP id sv1mr2546600vdb.7.1406554239076; Mon, 28 Jul 2014 06:30:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.169 with SMTP id x38ls2109588qgx.28.gmail; Mon, 28 Jul 2014 06:30:39 -0700 (PDT) X-Received: by 10.220.94.135 with SMTP id z7mr266335vcm.46.1406554238979; Mon, 28 Jul 2014 06:30:38 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id rq6si12379089vcb.97.2014.07.28.06.30.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jul 2014 06:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id la4so11224996vcb.19 for ; Mon, 28 Jul 2014 06:30:38 -0700 (PDT) X-Received: by 10.52.248.146 with SMTP id ym18mr37884922vdc.8.1406554238902; Mon, 28 Jul 2014 06:30:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp166703vcb; Mon, 28 Jul 2014 06:30:38 -0700 (PDT) X-Received: by 10.224.137.193 with SMTP id x1mr60937512qat.0.1406554238358; Mon, 28 Jul 2014 06:30:38 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id n17si32189357qaa.13.2014.07.28.06.30.37 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 28 Jul 2014 06:30:38 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XBl0f-0001ig-KL; Mon, 28 Jul 2014 13:30:37 +0000 Received: from mail-la0-f46.google.com ([209.85.215.46]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XBl0Z-0001iF-2G for lng-odp@lists.linaro.org; Mon, 28 Jul 2014 13:30:31 +0000 Received: by mail-la0-f46.google.com with SMTP id b8so5476781lan.33 for ; Mon, 28 Jul 2014 06:30:24 -0700 (PDT) X-Received: by 10.112.164.33 with SMTP id yn1mr32400965lbb.51.1406554224808; Mon, 28 Jul 2014 06:30:24 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id jo6sm12366755lab.5.2014.07.28.06.30.23 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 28 Jul 2014 06:30:24 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Mon, 28 Jul 2014 15:30:12 +0200 Message-Id: <1406554214-8416-2-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406554214-8416-1-git-send-email-anders.roxell@linaro.org> References: <1406277401-28679-1-git-send-email-anders.roxell> <1406554214-8416-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv3 1/3] configure.ac: add external-sysroot variable X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Makes it easier for external libs and headers if they aren't in the default path. Signed-off-by: Anders Roxell --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index 97089e9..e625c3a 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,15 @@ AC_ARG_WITH([platform], AC_SUBST([with_platform]) +AC_ARG_WITH([sysroot-path], +AC_HELP_STRING([--with-sysroot-path=DIR Path to external libs and headers], + [(or in the default path if not specified).]), +[SYSROOT_PATH=$withval SYSROOT_PATH_=1],[SYSROOT_PATH_=]) + +AC_SUBST(SYSROOT_PATH) + +AM_CONDITIONAL([SYSROOT_PATH_], [test "x${SYSROOT_PATH_}" = "x1"]) + ########################################################################## # Enable/disable netmap support ##########################################################################