LDFLAGS="$LDFLAGS -L${DPDK_LIB_DIR}"
fi
- AC_COMPILE_IFELSE([
- AC_LANG_PROGRAM(
- [
- #include <rte_config.h>
-#if !RTE_LIBRTE_VHOST_USER
-#error
-#endif
- ], [])
- ], [],
- [AC_DEFINE([VHOST_CUSE], [1], [DPDK vhost-cuse support enabled, vhost-user disabled.])
- DPDK_EXTRA_LIB="-lfuse"])
-
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM(
[