[02/10] linux-generic: m4: dpdk: fix to conform with other m4 files

Message ID 1458758254-4703-3-git-send-email-anders.roxell@linaro.org
State New
Headers show

Commit Message

Anders Roxell March 23, 2016, 6:37 p.m.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 configure.ac                          | 1 +
 platform/linux-generic/m4/odp_dpdk.m4 | 1 +
 2 files changed, 2 insertions(+)

Patch

diff --git a/configure.ac b/configure.ac
index 4bf93f9..c2f8caa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,6 +95,7 @@  fi
 ##########################################################################
 # 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])
 
diff --git a/platform/linux-generic/m4/odp_dpdk.m4 b/platform/linux-generic/m4/odp_dpdk.m4
index 7fa3387..f85a185 100644
--- a/platform/linux-generic/m4/odp_dpdk.m4
+++ b/platform/linux-generic/m4/odp_dpdk.m4
@@ -1,6 +1,7 @@ 
 ##########################################################################
 # Enable DPDK support
 ##########################################################################
+dpdk_support=no
 AC_ARG_ENABLE([dpdk_support],
     [  --enable-dpdk-support  include dpdk IO support],
     [if test x$enableval = xyes; then