From patchwork Fri Sep 23 16:15:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 76894 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp653129qgf; Fri, 23 Sep 2016 09:15:39 -0700 (PDT) X-Received: by 10.55.18.40 with SMTP id c40mr8702094qkh.271.1474647339002; Fri, 23 Sep 2016 09:15:39 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c52si5618196qta.84.2016.09.23.09.15.31; Fri, 23 Sep 2016 09:15:38 -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=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 9737D60E1B; Fri, 23 Sep 2016 16:15:31 +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, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 A0A9E60B14; Fri, 23 Sep 2016 16:15:27 +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 76F3960BF9; Fri, 23 Sep 2016 16:15:25 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by lists.linaro.org (Postfix) with ESMTPS id 7D12060B06 for ; Fri, 23 Sep 2016 16:15:23 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id a62so140077679oib.1 for ; Fri, 23 Sep 2016 09:15:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TSPxTaum/6KnnGInJsxCCJCZu+rns4etgO2sNzs8ysw=; b=U+adq/NxkVimsuI8yRaGpDLTturBkM2nN49i8HS6/PgVEAzCUvGFwtBbgYCQW5xhlf qYNo8G6gz08DMjR3QiPch/1+RMhhTO3HvZjT5V3THGe4hkEhQ/qmkMpSYEyGUm2u8VLa P/xTk4pUs0BBQN+eiT3AiWDfo7LSS2SGsJJtuEVXtPibjh74DWkajmND9wIDM49+W56M 5QC6c+3FYAiSjqNjl+CM0/DHNztqT4/UZVDq5ngjAhJUKIoBzDevz439Lx8YLmfb1sZk 5ocmwqFZJIlVgAaAORtaOl5Cmamx08IoQWooTrO/gGr8GkADHPq5g2GopmyrwRiBf4Q2 NVhA== X-Gm-Message-State: AE9vXwOm0khh+HbvmIupYPQ/6TRhfh0Uv9vZI21Ru16JhinbSqEBnpPp7k+hSJRhvoCjaYp57ys= X-Received: by 10.202.243.194 with SMTP id r185mr11866722oih.12.1474647322923; Fri, 23 Sep 2016 09:15:22 -0700 (PDT) Received: from localhost.localdomain (cpe-70-121-83-241.austin.res.rr.com. [70.121.83.241]) by smtp.gmail.com with ESMTPSA id n9sm2347461oib.21.2016.09.23.09.15.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Sep 2016 09:15:22 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 23 Sep 2016 11:15:20 -0500 Message-Id: <1474647321-7457-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.7.4 X-Topics: patch Subject: [lng-odp] [PATCHv3 1/2] config: abi: add --enable-abi-compat option with default=yes 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" Suggested-by Petri Savolainen Signed-off-by: Bill Fischofer --- Note that this patch supersedes patch http://patches.opendataplane.org/patch/6967/ Changes for v3: - Correct default to be --enable-abi-compat=yes Changes for v2: - Correct test direction (yes vs. no) configure.ac | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- 2.7.4 diff --git a/configure.ac b/configure.ac index 982aff7..983b221 100644 --- a/configure.ac +++ b/configure.ac @@ -176,11 +176,15 @@ AM_CONDITIONAL([test_example], [test x$test_example = xyes ]) AM_CONDITIONAL([HAVE_DOXYGEN], [test "x${DOXYGEN}" = "xdoxygen"]) AM_CONDITIONAL([user_guide], [test "x${user_guides}" = "xyes" ]) AM_CONDITIONAL([HAVE_MSCGEN], [test "x${MSCGEN}" = "xmscgen"]) -if test x$enable_shared != xyes; + +########################################################################## +# Setup for ABI compatibility +########################################################################## +if test x$enable_shared != xno; then - _ODP_INLINES="_ODP_INLINES" -else _ODP_INLINES="_ODP_NO_INLINES" +else + _ODP_INLINES="_ODP_INLINES" fi AC_SUBST(_ODP_INLINES)