From patchwork Wed Mar 23 18:37:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 64254 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp200333lbc; Wed, 23 Mar 2016 11:47:10 -0700 (PDT) X-Received: by 10.140.95.117 with SMTP id h108mr5559081qge.65.1458758830457; Wed, 23 Mar 2016 11:47:10 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id z93si3205311qgd.106.2016.03.23.11.47.10; Wed, 23 Mar 2016 11:47:10 -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 Received: by lists.linaro.org (Postfix, from userid 109) id 081F06183E; Wed, 23 Mar 2016 18:47:10 +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=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 C548A617AF; Wed, 23 Mar 2016 18:45:34 +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 0D06861801; Wed, 23 Mar 2016 18:45:25 +0000 (UTC) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by lists.linaro.org (Postfix) with ESMTPS id 7E779617B1 for ; Wed, 23 Mar 2016 18:44:46 +0000 (UTC) Received: by mail-lf0-f46.google.com with SMTP id d82so18156926lfe.3 for ; Wed, 23 Mar 2016 11:44:46 -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:in-reply-to :references; bh=L/f8aVwaBMKOtiCrhsxxZKlSc8Pc4e0LOhQAWBH1jbc=; b=cCQdfEW+04B6szRZ/R6aVFNtx0byHgJPfNSZ2Ym2gPqYswubXzD5xfcHs2QDTOwM7W c0V6Eg9LrJA0y2KpE2MLMaBc5GyJ1vI3TsLugrk3VkdJo7/xQCVX3yJUyu/9WR1o24On bWyVnQilvtmdsjnGXaqIdfO4dWsx07FwAnhoTdmOLKa3kLaQsl4cjQAF95XSlQYbvLz3 ICUf32fmZbWsqTTm7i9FAOt+CytnZBidGmLQHD15EsyeY24qxQsUfGDYVVDPSR8CJCP5 TPOmxPFWjwPwPFhwmiMHUVVa62Pb/jHvc0tS/9RJA1nzWp0tjSJGUTfpgNrLLhjz3IcA 1qPA== X-Gm-Message-State: AD7BkJLgBL+Vcv3bQz/l4EeiB16eXJkzsOZtIzI3GoJbXd23Dv099yVPMnJlbFLQ7+FmCZQedN8= X-Received: by 10.25.127.216 with SMTP id a207mr1948156lfd.116.1458758685298; Wed, 23 Mar 2016 11:44:45 -0700 (PDT) Received: from localhost (c-c82171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.200]) by smtp.gmail.com with ESMTPSA id t17sm621383lfd.17.2016.03.23.11.44.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Mar 2016 11:44:44 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Wed, 23 Mar 2016 19:37:27 +0100 Message-Id: <1458758254-4703-4-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1458758254-4703-1-git-send-email-anders.roxell@linaro.org> References: <1458758254-4703-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 03/10] configure: group AM_CONDITIONAL 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: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Anders Roxell --- configure.ac | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index c2f8caa..6d6e17a 100644 --- a/configure.ac +++ b/configure.ac @@ -93,13 +93,8 @@ else fi ########################################################################## -# Set conditionals as computed within platform specific files +# Set SDK install path ########################################################################## -AM_CONDITIONAL([dpdk_support], [test x$dpdk_support = xyes ]) -AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ]) -AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes]) - - AC_ARG_WITH([sdk-install-path], AC_HELP_STRING([--with-sdk-install-path=DIR path to external libs and headers], [(or in the default path if not specified).]), @@ -107,8 +102,6 @@ AC_HELP_STRING([--with-sdk-install-path=DIR path to external libs and headers], AC_SUBST(SDK_INSTALL_PATH) -AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"]) - ########################################################################## # Set the install directory for test binaries/scripts ########################################################################## @@ -120,7 +113,6 @@ AC_ARG_WITH([testdir], testdir=$withval fi], []) AC_SUBST([testdir]) -AM_CONDITIONAL([test_installdir], [test "$testdir" != ""]) ########################################################################## # Enable/disable Unit tests @@ -134,6 +126,15 @@ AC_ARG_ENABLE([cunit_support], ########################################################################## +# Set conditionals as computed within platform specific files +########################################################################## +AM_CONDITIONAL([dpdk_support], [test x$dpdk_support = xyes ]) +AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ]) +AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes]) +AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"]) +AM_CONDITIONAL([test_installdir], [test "$testdir" != ""]) + +########################################################################## # Setup doxygen documentation ########################################################################## DX_HTML_FEATURE(ON)