From patchwork Tue Aug 22 09:59:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110638 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5103281obb; Tue, 22 Aug 2017 03:16:45 -0700 (PDT) X-Received: by 10.200.44.13 with SMTP id d13mr179602qta.192.1503397004965; Tue, 22 Aug 2017 03:16:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397004; cv=none; d=google.com; s=arc-20160816; b=KFuxGkeJJ3Li3XPfAjqIzKpxy6IJsyMdxm9sReJtMNTiTRDn9NoYtdy2Dad7LJOfUO KgLDCaRqK77Fx05ieazvERyMk9ZiJmL+tOrS24SCfMRNLLkg/GQgWiOQ1ofacElKSr29 9oLFTtazBdA6qLB0fuYAGVJ9KB/5uK/m/R/FW4X2lzuWc3jTxN3KKm+s00aH+fpVTfra fjWwKe79xCApWRsik+XRxodYsWXr20lRCLwJdvcMjez9PePVYDV3/rg/uWTkD6jzSy3+ SkXrnkG1s+fDzDG8jXUGXMK+krGy76AYAJvjbBLYo5YzxWpR/5GT9o00FuoH1d9k/wZq PWTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=eVYJhswRmENrTgP/kbIhSHQNFBkXgM06Un2D6gWupjE=; b=lLhKT2/TAiUD+G1V4wEYwkeXDlV3O7a2MhRgQdGsz9UhYqZPJJ5UGyAqfuTfKgl8tn /ubDY5EN99bgW+WZ65Qlirriu3PMHima/7qakHeaP+Ld6Y+sEue0Dtcj5QCISG+FnTKO XU5HSNlVXS8HefQ+sRNbmhQaPNmpzoVMfKV1FI+qqAFxRAfGHh36eygYpbP/qmHzmN32 5UcZ4aiFxL5J6rVayrBT32lYV1qn0Tw+ZEBR/dUrLHpyDptm2pLdJedrGX2G0VQ8Arg+ FQ2SEiY5i7+2H+M1ba2jL3sEzPEPBRj6Sz1sovIdJlJhHk90rl4rbWzNJn5+CPunpnLj y9ZQ== ARC-Authentication-Results: i=1; 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 sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 44si13455260qty.183.2017.08.22.03.16.44; Tue, 22 Aug 2017 03:16:44 -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 sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 919B460D2E; Tue, 22 Aug 2017 10:16:44 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 03E2965C03; Tue, 22 Aug 2017 10: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 6CC4C644D9; Tue, 22 Aug 2017 10:01:31 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id AC7F260C0B for ; Tue, 22 Aug 2017 10:00:25 +0000 (UTC) Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 71E922183F77 for ; Tue, 22 Aug 2017 13:00:24 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback5j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id GcqJYGBe0v-0OaatrtT; Tue, 22 Aug 2017 13:00:24 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Nf45LuB; Tue, 22 Aug 2017 13:00:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:57 +0300 Message-Id: <1503396009-8350-14-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 13/25] configure: AC_DEFINE(HAVE_PCAP) 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: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/m4/odp_pcap.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_pcap.m4 b/platform/linux-generic/m4/odp_pcap.m4 index d7295f21..0b5b8a2e 100644 --- a/platform/linux-generic/m4/odp_pcap.m4 +++ b/platform/linux-generic/m4/odp_pcap.m4 @@ -9,7 +9,7 @@ AC_CHECK_HEADER(pcap/pcap.h, []) if test "$have_pcap" = "yes"; then - ODP_CFLAGS="$AM_CFLAGS -DHAVE_PCAP" + AC_DEFINE([HAVE_PCAP], 1, [Define to 1 if you have pcap library]) PCAP_LIBS="-lpcap" fi