From patchwork Fri Jul 25 08:36:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 34266 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ACA1520551 for ; Fri, 25 Jul 2014 08:37:07 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id rl12sf25098573iec.1 for ; Fri, 25 Jul 2014 01:37:07 -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=C7Dr2uylFiNur5IdtiB+lrwu8lMXKjI3eFixDs00nf4A9kDRujwAhTX8/lRMszhjkL WF91z2WvSpw5ws2OsluOpY4KqURkw4PTB1yKi7/jRRQ88uR1VFK8Vke1B5fuo9jCSDZp THQT/FqgKiccKqzkrPvoMX5xvlmJw0MKwcuts8Z56Hx/4BycCTX23qofv/Ds5POwV1GO cJXM0GLiIJg9ibJOUZmH5JaKOWE1XX5S8HLNqRNKnjhlCgYeHvbc4X+8sg9rwa0nBH1+ uGwmlsGG7Y5bgWJkpKbR/mydKMCN30FR386KeesTPZvpNp0+5MMMwcaaEON9V9BJgIvq vHtw== X-Gm-Message-State: ALoCoQlkYr4AEjuWUffCupvHrYZ1sfBtpb78vTMRQmM4IAzs3tMmcWu0P87ETeCp+hY/ycsFw5sG X-Received: by 10.50.80.111 with SMTP id q15mr1580314igx.0.1406277427273; Fri, 25 Jul 2014 01:37:07 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.226 with SMTP id r89ls1052908qgd.44.gmail; Fri, 25 Jul 2014 01:37:07 -0700 (PDT) X-Received: by 10.221.59.194 with SMTP id wp2mr101038vcb.59.1406277427062; Fri, 25 Jul 2014 01:37:07 -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 zt9si7002598vdc.31.2014.07.25.01.37.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Jul 2014 01:37:07 -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 la4so6903322vcb.19 for ; Fri, 25 Jul 2014 01:37:07 -0700 (PDT) X-Received: by 10.52.0.177 with SMTP id 17mr16029124vdf.12.1406277426925; Fri, 25 Jul 2014 01:37:06 -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 tc5csp20645vcb; Fri, 25 Jul 2014 01:37:06 -0700 (PDT) X-Received: by 10.140.105.72 with SMTP id b66mr22637764qgf.30.1406277426410; Fri, 25 Jul 2014 01:37:06 -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 g62si15100927qge.125.2014.07.25.01.37.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 25 Jul 2014 01:37:06 -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 1XAazx-0005TQ-Iv; Fri, 25 Jul 2014 08:37:05 +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 1XAazq-0005Sz-Km for lng-odp@lists.linaro.org; Fri, 25 Jul 2014 08:36:58 +0000 Received: by mail-lb0-f176.google.com with SMTP id u10so3117512lbd.21 for ; Fri, 25 Jul 2014 01:36:52 -0700 (PDT) X-Received: by 10.112.19.133 with SMTP id f5mr13590831lbe.48.1406277412652; Fri, 25 Jul 2014 01:36:52 -0700 (PDT) Received: from localhost (c-4f66bc92-74736162.cust.telenor.se. [79.102.188.146]) by mx.google.com with ESMTPSA id vu1sm14872506lbb.41.2014.07.25.01.36.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Jul 2014 01:36:51 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Fri, 25 Jul 2014 10:36:39 +0200 Message-Id: <1406277401-28679-2-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406277401-28679-1-git-send-email-anders.roxell@linaro.org> References: <1406277401-28679-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv2 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 ##########################################################################