summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d5569bf)
raw | patch | inline | side by side (parent: d5569bf)
author | Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com> | |
Wed, 30 Nov 2016 14:12:49 +0000 (14:12 +0000) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Mon, 5 Dec 2016 18:48:30 +0000 (19:48 +0100) |
- Fix typo.
Change-Id: I7cfb6dff4e1c2728650cd1d44aaaa36169880809
Signed-off-by: Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
Change-Id: I7cfb6dff4e1c2728650cd1d44aaaa36169880809
Signed-off-by: Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 7f0dd5ca2ad0507ceb2f4acbd83170b508b68908..993e319e7a7907241897b6a10e135646b3a684d0 100644 (file)
--- a/configure.ac
+++ b/configure.ac
# }}}
# --with-libdpdk {{{
-LIBDPDK_CPPFLAGS="-I/usr/include/dpdk"
-LIBDPDK_LDFLAGS=""
AC_ARG_VAR([LIBDPDK_CPPFLAGS], [Preprocessor flags for libdpdk])
AC_ARG_VAR([LIBDPDK_LDFLAGS], [Linker flags for libdpdk])
@@ -2615,6 +2613,10 @@ AC_ARG_WITH([libdpdk], [AS_HELP_STRING([--without-libdpdk], [Disable libdpdk.])]
if test "x$with_libdpdk" != "xno"
then
+ if test "x$LIBDPDK_CPPFLAGS" = "x"
+ then
+ LIBDPDK_CPPFLAGS="-I/usr/include/dpdk"
+ fi
SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$LIBDPDK_CPPFLAGS $CPPFLAGS"
AC_CHECK_HEADERS([rte_config.h],
SAVE_LDFLAGS="$LDFLAGS"
LDFLAGS="$LIBDPDK_LDFLAGS $LDFLAGS"
AC_CHECK_LIB([dpdk], [rte_eal_init],
- [with_libdpkd="yes"],
+ [with_libdpdk="yes"],
[with_libdpdk="no (symbol 'rte_eal_init' not found)"]
)
LDFLAGS="$SAVE_LDFLAGS"
plugin_xencpu="yes"
fi
-if test "x$with_libdpkd" = "xyes"
+if test "x$with_libdpdk" = "xyes"
then
plugin_dpdkstat="yes"
fi