From patchwork Tue Aug 22 09:59:54 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: 110635 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5101299obb; Tue, 22 Aug 2017 03:14:06 -0700 (PDT) X-Received: by 10.55.207.21 with SMTP id e21mr174839qkj.106.1503396846646; Tue, 22 Aug 2017 03:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396846; cv=none; d=google.com; s=arc-20160816; b=Zr20CeqgP5fMxylRF6tjvqtJsuwEJX30ZJ7Rrxxf0DP9pr4b7Hm8GPqAUlzYYdJIyU deU8EZ8BSl4b1u07OsD39GovalMZ3m12EvCBWoTBj2MztRVoSn+lYEmYjGtDd0RFjFGD eC5SOe8c0daBOlTYrRk5fUP9+iAFYKwzPq+33uxT6+mjIu/8agxqD30g7/vX2TYo6lG9 WVuX6MivMv8B/+EHUbZfgEYQ6lB/7SRs343BKyhWJqn1i2yUx7HzwmyWC6yJXksYF5hz A+3d+z1fktjV3V2bwI1KI1LzsXtXPrEKtbGUODsAIMK1rjUEtrtPPyHy0AfZNyn3I/H4 32Zw== 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=vcbX4QGFBXHyXe4qOxC/RQ7uo3Ps0mSouFzsy8jy3BU=; b=sS9W6jR44hYErUEh0Og4jSX6GPMCLyHHrG7J9Z/B115rJ+XTTcG4GwwErGYl604cx2 8fJ6tpVxWDcAtRA53VxHPGeLv8W0Fet14M0M0imrcMtU+JvokA7Rw5oJ65QbTZag5N2l wFCAQ5ttylgEpoozylIYmXsSkM1xQ2kZlcYYWcsaMaRhmVC+SdwW+R8F02UH/H7mW0aX mz/HN+JK6PB9pg+vSEd1BRnYd44mSQZRRJXO6YMablJGh44ZQeKISSoFTSUKK4ujWvmB aoYmBI+VbW38ZDp2y7lUdMFwxL8t0EP4qHeiPDF4tSYKdc6+NXE5qkW9GU+DhKwOKxT0 Yg5Q== 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 g13si7039278qtb.139.2017.08.22.03.14.06; Tue, 22 Aug 2017 03:14:06 -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 3ABFC60AC8; Tue, 22 Aug 2017 10:14:06 +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 7F88B65BEA; Tue, 22 Aug 2017 10:01:44 +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 5CB22644D9; Tue, 22 Aug 2017 10:01:29 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 842EE644E0 for ; Tue, 22 Aug 2017 10:00:23 +0000 (UTC) Received: from mxback15g.mail.yandex.net (mxback15g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:94]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 870EE184B6D for ; Tue, 22 Aug 2017 13:00:22 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback15g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3aWvvai0vi-0MV8hXne; Tue, 22 Aug 2017 13:00:22 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0MfWEUZI; Tue, 22 Aug 2017 13:00:22 +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:54 +0300 Message-Id: <1503396009-8350-11-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 10/25] configure: AC_DEFINE_UNQUOTED(ODP_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: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 329c91e8..16c22321 100644 --- a/configure.ac +++ b/configure.ac @@ -252,10 +252,9 @@ AC_ARG_ENABLE([debug-print], [ --enable-debug-print display debugging information], [if test "x$enableval" = "xyes"; then ODP_DEBUG_PRINT=1 - else - ODP_DEBUG_PRINT=0 fi]) -ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG_PRINT=$ODP_DEBUG_PRINT" +AC_DEFINE_UNQUOTED([ODP_DEBUG_PRINT], [$ODP_DEBUG_PRINT], + [Define to 1 to display debug information]) ODPH_DEBUG_PRINT=0 AC_ARG_ENABLE([helper-debug-print],