[ovs-dev,V4,3/3] acinclude: Omit unnecessary define

Message ID 20190211113235.31681-4-elibr@mellanox.com
State Accepted
Delegated to: Ian Stokes
Headers show
Series
  • Include libverbs and libmlx4/5 when needed
Related show

Commit Message

Eli Britstein Feb. 11, 2019, 11:32 a.m.
Commit fc3b425fa02f ("acinclude: Include libmnl when needed") added
unnecessary include of DPDK_MNL. Omit it.

Fixes: fc3b425fa02f ("acinclude: Include libmnl when needed")
Signed-off-by: Eli Britstein <elibr@mellanox.com>
---
 acinclude.m4 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/acinclude.m4 b/acinclude.m4
index 1dcae6e85..7973a0bd0 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -293,8 +293,7 @@  AC_DEFUN([OVS_CHECK_DPDK], [
 #endif
         ], [])
       ], [],
-      [AC_SEARCH_LIBS([mnl_attr_put],[mnl],[],[AC_MSG_ERROR([unable to find libmnl, install the dependency package])])
-       AC_DEFINE([DPDK_MNL], [1], [MLX5 PMD detected in DPDK.])])
+      [AC_SEARCH_LIBS([mnl_attr_put],[mnl],[],[AC_MSG_ERROR([unable to find libmnl, install the dependency package])])])
 
     AC_COMPILE_IFELSE([
       AC_LANG_PROGRAM(