From patchwork Tue Jul 29 09:16:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 34457 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ADD2120DCC for ; Tue, 29 Jul 2014 09:16:29 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf60433754pab.0 for ; Tue, 29 Jul 2014 02:16:29 -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=mQp6DoJzNKjQWHo/A8TUztXFlaqdr1JjhL1IPPT0txEHPWTTB6U1QSvu68hXUcA2W9 qUhHSZusR8+sfq5zGDLFLq3rvaqoTGdXo3pVHgDLgffmLQ/5u7xbFQKHeISpTeGHUTiT L98qvik89v7tK9x/nBo474cJAthM2JJ+8SqWEuVZvW4GlwaVofCqfLuf3D1OeewAyjy+ Rg9Q51KovjDHY8SLKpNIPnDFaa2buDLzWWZ1A82OchUb404gvK+lm5PdfpU7o/BOVX9O 2xRzJsya3lBceFg5TFhDieg7b3tqFqZv8ZkcmM7U0Dw1556GiPXCmGa2T7+IyiiBxGLh pMdw== X-Gm-Message-State: ALoCoQnJQaRw6A6fWRc7phJ6WuuvEjwKh/Et4YqKOqWRNZNAJUVJHIjM1ASETfF5CC7umn0YbowC X-Received: by 10.68.195.9 with SMTP id ia9mr281346pbc.7.1406625388929; Tue, 29 Jul 2014 02:16:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.17.53 with SMTP id 50ls44676qgc.21.gmail; Tue, 29 Jul 2014 02:16:28 -0700 (PDT) X-Received: by 10.52.82.166 with SMTP id j6mr38157vdy.87.1406625388797; Tue, 29 Jul 2014 02:16:28 -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 ge11si14219300vdc.46.2014.07.29.02.16.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Jul 2014 02:16:28 -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 la4so13083436vcb.33 for ; Tue, 29 Jul 2014 02:16:28 -0700 (PDT) X-Received: by 10.52.9.35 with SMTP id w3mr458320vda.12.1406625388716; Tue, 29 Jul 2014 02:16:28 -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 tc5csp229957vcb; Tue, 29 Jul 2014 02:16:28 -0700 (PDT) X-Received: by 10.140.44.67 with SMTP id f61mr1388484qga.44.1406625388240; Tue, 29 Jul 2014 02:16:28 -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 k7si1610384qar.130.2014.07.29.02.16.27 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 02:16:28 -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 1XC3WF-0006Oi-K1; Tue, 29 Jul 2014 09:16:27 +0000 Received: from mail-lb0-f176.google.com ([209.85.217.176]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XC3W9-0006OH-JC for lng-odp@lists.linaro.org; Tue, 29 Jul 2014 09:16:21 +0000 Received: by mail-lb0-f176.google.com with SMTP id u10so6611056lbd.21 for ; Tue, 29 Jul 2014 02:16:15 -0700 (PDT) X-Received: by 10.152.2.202 with SMTP id 10mr785110law.93.1406625375519; Tue, 29 Jul 2014 02:16:15 -0700 (PDT) Received: from localhost ([46.194.132.104]) by mx.google.com with ESMTPSA id xk7sm13898135lac.10.2014.07.29.02.16.13 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 02:16:14 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Tue, 29 Jul 2014 11:16:02 +0200 Message-Id: <1406625364-13515-2-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406625364-13515-1-git-send-email-anders.roxell@linaro.org> References: <1406625364-13515-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv4 1/3] configure.ac: add sysroot-path 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 ##########################################################################