configure.ac: slightly tweak dpdk check
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 13:53:46 +0000 (15:53 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 13:53:46 +0000 (15:53 +0200)
configure.ac

index 66f00b3..cd212fa 100644 (file)
@@ -2383,7 +2383,11 @@ AC_SUBST(BUILD_WITH_LIBDBI_LIBS)
 AC_ARG_VAR([LIBDPDK_CPPFLAGS], [Preprocessor flags for libdpdk])
 AC_ARG_VAR([LIBDPDK_LDFLAGS], [Linker flags for libdpdk])
 
-AC_ARG_WITH([libdpdk], [AS_HELP_STRING([--without-libdpdk], [Disable libdpdk.])])
+AC_ARG_WITH([libdpdk],
+  [AS_HELP_STRING([--without-libdpdk], [Disable libdpdk.])],
+  [with_libdpdk="$withval"],
+  [with_libdpdk="yes"]
+)
 
 if test "x$with_libdpdk" != "xno"; then
   if test "x$LIBDPDK_CPPFLAGS" = "x"; then