From patchwork Tue Aug 22 09:59:53 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: 110631 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5098144obb; Tue, 22 Aug 2017 03:09:54 -0700 (PDT) X-Received: by 10.237.58.131 with SMTP id o3mr144370qte.229.1503396594524; Tue, 22 Aug 2017 03:09:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396594; cv=none; d=google.com; s=arc-20160816; b=B9ambaNakPsTbN5caix5M30w25V6uX1m4mCXKDtN65Of6VkpXmTCQYzeDTfIHOmqt9 mjUE8jbo8VqZwrI7binx4aMsoJC6Kq1nJKLSFjqk6oGZ1egZaKoNXv7vozpYrqBcQzzb QZUUmft4OtRBY8fOrbwcGAyPTZtQUlVXiOc9L+tpnoNQeFeVrh6czyYj1tMsIzuatE+r bERAW9OCaY9gEuBS8RLggiWnPpy24WOSnowDZL60zXyMYeQWdSBjHe03GziXmfqMDieJ i8o1gfghsnx/ZGxMogOeIfnL1XHQ6hjkNYAg35MoYCpKLVRnNGbOe0sMx/xHrB9XoUaN BC8A== 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=hlwTItnsDUFF/6wFVQFhuZ58mAUhXIQt610Hd41otkc=; b=i47rqUv/MdhJSAhrPgmEf0Xo6vXVCH61Hmpucp1j+xQg/X8P0ADOw+cMO0b7P9sLwY 6XZ77X0QDrk5Bgr0cVNrdQ4mnAPkDuSrxDOo3XpvUZ8wIJrrpcBVKZl/gLfiZCOCW2dM ozBBLGcZXPgUpyiXS14dfPC5B0K2MjU56lfuXds9adNTkX1oaMBwRFZ9cpQQvKH9IP9V BA7syqH618uSQRcDwpFDI0iLz5jVb7b4etRUgAZhv4sl41S2827sghHsjVlubxfyt/Lt 06pgU6kTCNogZUAKKpIGi2I4jpc8Ho8nWfN/IN2LDagp98x0CQUEl2bis14nWx0jFKnf 0uiw== 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 s7si7886735qke.499.2017.08.22.03.09.54; Tue, 22 Aug 2017 03:09:54 -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 02E5465BDF; Tue, 22 Aug 2017 10:09:54 +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 417E86447E; Tue, 22 Aug 2017 10:01:28 +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 C21A465BE8; Tue, 22 Aug 2017 10:01:24 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 18D53644D9 for ; Tue, 22 Aug 2017 10:00:23 +0000 (UTC) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 20328182E5C 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 mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id GH0c86lkTQ-0LsC3BMP; Tue, 22 Aug 2017 13:00:22 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0LfSZvBn; Tue, 22 Aug 2017 13:00:21 +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:53 +0300 Message-Id: <1503396009-8350-10-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 9/25] configure: AC_DEFINE_UNQUOTED(IMPLEMENTATION_NAME) 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8791905b..329c91e8 100644 --- a/configure.ac +++ b/configure.ac @@ -174,7 +174,8 @@ else exit 1 fi -ODP_CFLAGS="$ODP_CFLAGS -DIMPLEMENTATION_NAME=$IMPLEMENTATION_NAME" +AC_DEFINE_UNQUOTED([IMPLEMENTATION_NAME], ["$IMPLEMENTATION_NAME"], + [Define to the name of the implementation]) ########################################################################## # Include m4 files