From patchwork Mon Jul 18 14:40:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Kiss X-Patchwork-Id: 72207 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp151070qga; Mon, 18 Jul 2016 07:41:46 -0700 (PDT) X-Received: by 10.55.107.6 with SMTP id g6mr43846860qkc.166.1468852906226; Mon, 18 Jul 2016 07:41:46 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f37si16415678qte.143.2016.07.18.07.41.45; Mon, 18 Jul 2016 07:41:46 -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 7AE3E6859B; Mon, 18 Jul 2016 14:41:45 +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 267E16859E; Mon, 18 Jul 2016 14:41:42 +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 D3AFE6859B; Mon, 18 Jul 2016 14:41:35 +0000 (UTC) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by lists.linaro.org (Postfix) with ESMTPS id EAF4568595 for ; Mon, 18 Jul 2016 14:41:33 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id o80so120232964wme.1 for ; Mon, 18 Jul 2016 07:41:33 -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:subject:date:message-id; bh=wAoNAPW+g6S5Bx+1mDTh1X9/AVfc6q1AFnO3Vj07hWo=; b=E1pbS44VYoxQWaPEUC7QKDkfwpmnarKBMf3U3rhZcjhR6f6s1AHv6TiYQwsroxZCXw EmLpEnDoB1PNIwvIZYDl3a7TAtcpURLfgqwS81ebNNdRF85rLig02R4rWP3Ql67/8Y0j jAJfp+B7FNDoFko5s5iSfIV/QQy87u+WWGRwW+P4T6ZPx+nlXVi/vzi1Yrndk6YDs4JW IitWEYK4Bmjxm053A8c3qnfXxwkuETqGIxKeVt1ysIQ2/aaniiEfOrCNLysv20vl5Wjo RHelOx7ITcEwqHBTfmJk8gnXSgXc+8E7o6IRw7pOAwD1CMR/Yn/dGt6E46XTsixsEUjP nG/g== X-Gm-Message-State: ALyK8tIyNEz2KjS7DZTCeMXuTgmFqiWlaGl0hYUwp9gZhUd1ddznJuxq2l6IgDxFzWVeixKa4m4= X-Received: by 10.28.0.203 with SMTP id 194mr33684995wma.29.1468852892776; Mon, 18 Jul 2016 07:41:32 -0700 (PDT) Received: from localhost.localdomain ([195.11.233.227]) by smtp.googlemail.com with ESMTPSA id q9sm1631079wjd.48.2016.07.18.07.41.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jul 2016 07:41:32 -0700 (PDT) From: Zoltan Kiss To: lng-odp@lists.linaro.org Date: Mon, 18 Jul 2016 15:40:46 +0100 Message-Id: <1468852846-11067-1-git-send-email-zoltan.kiss@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] configure.ac: fix have_pcap 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: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" This causes "./configure: line 20048: test: =: unary operator expected" error messages, while the generated code was like this: if test $pktio_dpdk_support = yes ; then PKTIO_DPDK_TRUE= PKTIO_DPDK_FALSE='#' else ... Signed-off-by: Zoltan Kiss diff --git a/configure.ac b/configure.ac index c0eb207..97310c4 100644 --- a/configure.ac +++ b/configure.ac @@ -163,7 +163,7 @@ AC_SUBST([testdir]) AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ]) AM_CONDITIONAL([PKTIO_IPC], [test x$pktio_ipc_support = xyes]) AM_CONDITIONAL([PKTIO_DPDK], [test x$pktio_dpdk_support = xyes ]) -AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes]) +AM_CONDITIONAL([HAVE_PCAP], [test x$have_pcap = xyes]) AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"]) AM_CONDITIONAL([test_installdir], [test "$testdir" != ""]) AM_CONDITIONAL([cunit_support], [test x$cunit_support = xyes ])