From patchwork Tue Aug 15 10:00:00 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: 110121 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5474206qge; Tue, 15 Aug 2017 03:13:14 -0700 (PDT) X-Received: by 10.233.232.149 with SMTP id a143mr36366418qkg.339.1502791994635; Tue, 15 Aug 2017 03:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502791994; cv=none; d=google.com; s=arc-20160816; b=pVvt4c9sgNsfEDfSGgK+YW9WnT3DtrZH1AXpLar72xKAxzQD4E/igm314XXB+4q4pR RjUAjIfxCBb/2I/825Pw9cVSPTAIPbUaKVOTZNO96ab2FEKCNuOLga2vHkKJLe0IsAZ5 cQMOy4rMDkMrV2bSLWqqrLHXRpWa+UGa++l7Z6WtHQf2K9n1B3vUB1oVgqOkaHzMApp2 o4XxPds8kvxIgfYyv9svXDZwmQW/RUTyJRl/PqpAt1vXC3YLwH+Am79cjEdZWGi7ZHqr uBj/n5lP4pVvHlMgtVz17Ha2NxUkkunF/pNyRWOkQnUaXIYr7q3M/zMADQV6B3UXxa8I +CYw== 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=uY3UfxePU9nZ540+ehQOvxO0yhcl9n3Vrs1UnQ4tpec=; b=gGd2UIXabhCo9ZfTH9Coio/beQb+F6rrsLSyyLZTkkQTGsjz/lNocDjp/pt1t6YRxq UacS8Ngr4JnHHMUh0eV/4wktriG6j6mswdgX+Bw41nn0qebFQZD7Ei9abAAZgbom0rni Evv2Mx3A5g4AikXn9AlxSKZ/2wVRB+TMKuKL0KuTLNtIrWpzlTksZKB6oN965zYfWQ59 fUfytWglAXTmhfSOyoV3jWd+wcwt2MbQs+Wx6F63KFqtfneqvjjpveJvp61XHIbZyzKg RDJTHZtXaJeITPMNilcaFuaj2LE5jNG+w3CjFm382CC4DlXE3NAQPbSEscsYIWcDk06w 5Bqw== 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 v45si8452847qtv.60.2017.08.15.03.13.14; Tue, 15 Aug 2017 03:13:14 -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 56A0365C93; Tue, 15 Aug 2017 10:13:14 +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, RCVD_IN_DNSWL_NONE,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 B50F865C0E; Tue, 15 Aug 2017 10:02:11 +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 BD532644D8; Tue, 15 Aug 2017 10:01:59 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id D6114644B5 for ; Tue, 15 Aug 2017 10:00:34 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward101o.mail.yandex.net (Yandex) with ESMTP id BA0FC1343BC4 for ; Tue, 15 Aug 2017 13:00:33 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MMqRccNS0W-0XSGG4el; Tue, 15 Aug 2017 13:00:33 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fa5mS4tQKd-0XjG2Oi2; Tue, 15 Aug 2017 13:00:33 +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, 15 Aug 2017 13:00:00 +0300 Message-Id: <1502791206-2437-11-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> References: <1502791206-2437-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v2 10/16] configure: AC_DEFINE_UNQUOTED(ODPH_DEBUG_PRINT) 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: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 3e7a44d8f4b7c90183d3bd3b57bc812f16de030f **/ configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index d3737e8a..707c22f7 100644 --- a/configure.ac +++ b/configure.ac @@ -261,10 +261,9 @@ AC_ARG_ENABLE([helper-debug-print], [ --enable-helper-debug-print display helper debugging information], [if test "x$enableval" = "xyes"; then ODPH_DEBUG_PRINT=1 - else - ODPH_DEBUG_PRINT=0 fi]) -ODP_CFLAGS="$ODP_CFLAGS -DODPH_DEBUG_PRINT=$ODPH_DEBUG_PRINT" +AC_DEFINE_UNQUOTED([ODPH_DEBUG_PRINT], [$ODPH_DEBUG_PRINT], + [Define to 1 to display helper debug information]) ########################################################################## # Enable/disable ODP_DEBUG