if test "x$with_libdpdk" != "xno"; then
PKG_CHECK_MODULES([DPDK], [libdpdk])
+ if test "x$LIBDPDK_CPPFLAGS" = "x"; then
+ LIBDPDK_CPPFLAGS="-I/usr/include/dpdk"
+ fi
if test "x$LIBDPDK_CFLAGS" = "x"; then
LIBDPDK_CFLAGS="$DPDK_CFLAGS"
+ LIBDPDK_CPPFLAGS="$LIBDPDK_CPPFLAGS $DPDK_CFLAGS"
fi
if test "x$LIBDPDK_LIBS" = "x"; then
if test "x$DPDK_LIBS" != "x"; then
LIBDPDK_LIBS="-ldpdk"
fi
fi
- if test "x$LIBDPDK_CPPFLAGS" = "x"; then
- LIBDPDK_CPPFLAGS="-I/usr/include/dpdk"
- fi
SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$LIBDPDK_CPPFLAGS $CPPFLAGS"
SAVE_CFLAGS="$CFLAGS"