From patchwork Thu Sep 4 02:08:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 36669 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E238D2039B for ; Thu, 4 Sep 2014 02:09:26 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rp18sf48435434iec.8 for ; Wed, 03 Sep 2014 19:09:26 -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: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=eERRuxCAqBWbZlgL7ZDSvC/B+OrFPgZFOBWWQ2Vvd9c=; b=Gc6k9qTbXZkjPCqrvfGLVWt1t+l2x9jL/dFIht81O5gEhdXZQJry1SxwFXS9YnRX6G bck2sJxKm3KbACMqE7oXF5OyGVtic7ItxHqDZyvnqI7hwhIe3azU7Fmh6AJCfAyqoyOn 4CGPxIDj8V0JlSGl5DuUpWTeS5omrG4BnQPmiqNHKQy1xToZdXdHuKuEfaMNocTYCoH+ TD+SQvjV139CgS79V3R0sKDN313ovTiQ4q2I48bW4TYgOUnjXM330XIY3eOc44oZJIny 3NjkwglOtKdzTrtyZKT94dwAagcPob1g0xB9BHXqhf0BjmiQo/ucOmHnf2cqk1NUK01B 2GYA== X-Gm-Message-State: ALoCoQkzLJ9ApDpoZeWDoZV6LHMedrjq1hxt9NQd9eR87r56EGawwHvc5euSH7Tmrq1i9R4iX42V X-Received: by 10.182.230.133 with SMTP id sy5mr885894obc.22.1409796566333; Wed, 03 Sep 2014 19:09:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.92.228 with SMTP id b91ls85009qge.88.gmail; Wed, 03 Sep 2014 19:09:26 -0700 (PDT) X-Received: by 10.52.190.71 with SMTP id go7mr850082vdc.28.1409796566246; Wed, 03 Sep 2014 19:09:26 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id cc10si4921000vcb.48.2014.09.03.19.09.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Sep 2014 19:09:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id la4so10044799vcb.1 for ; Wed, 03 Sep 2014 19:09:26 -0700 (PDT) X-Received: by 10.220.59.138 with SMTP id l10mr271655vch.59.1409796566178; Wed, 03 Sep 2014 19:09:26 -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.45.67 with SMTP id uj3csp767171vcb; Wed, 3 Sep 2014 19:09:25 -0700 (PDT) X-Received: by 10.224.47.130 with SMTP id n2mr2165222qaf.87.1409796565653; Wed, 03 Sep 2014 19:09:25 -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 i49si12518418qgd.114.2014.09.03.19.09.24 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 03 Sep 2014 19:09:25 -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 1XPMUE-000071-9c; Thu, 04 Sep 2014 02:09:22 +0000 Received: from mail-qa0-f45.google.com ([209.85.216.45]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XPMU8-00006w-Rg for lng-odp@lists.linaro.org; Thu, 04 Sep 2014 02:09:16 +0000 Received: by mail-qa0-f45.google.com with SMTP id f12so8812722qad.32 for ; Wed, 03 Sep 2014 19:09:11 -0700 (PDT) X-Received: by 10.140.92.235 with SMTP id b98mr1958857qge.97.1409796551640; Wed, 03 Sep 2014 19:09:11 -0700 (PDT) Received: from fedora1.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id h2sm18471855qah.35.2014.09.03.19.09.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Sep 2014 19:09:10 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 3 Sep 2014 22:08:49 -0400 Message-Id: <1409796529-56194-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] configure.ac: Add --with-netmap-path 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: mike.holmes@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.170 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 Signed-off-by: Mike Holmes Tested-by: Tushar Jagad Tested-by: Ankit Jindal --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index e33e1a5..eb2061a 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,15 @@ AC_ARG_ENABLE([netmap], ODP_CFLAGS="$ODP_CFLAGS -DODP_HAVE_NETMAP=1" fi]) +AC_ARG_WITH([netmap-path], +AC_HELP_STRING([--with-netmap-path=DIR Path to netmap libs and headers], + [(or in the default path if not specified).]), +[NETMAP_PATH=$withval netmap_support=yes +AM_CFLAGS="$AM_CFLAGS -I$NETMAP_PATH" +ODP_CFLAGS="$ODP_CFLAGS -DODP_HAVE_NETMAP=1" +],[ AC_MSG_WARN([Netmap not found - continuing without netmap support]) +]) + AM_CONDITIONAL([ODP_NETMAP_ENABLED], [test x$netmap_support = xyes ]) ##########################################################################