Merge pull request #2405 from cpaelzer/fix-dpdk-pkg-config-if-not-available
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 18 Aug 2017 10:51:54 +0000 (12:51 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Aug 2017 10:51:54 +0000 (12:51 +0200)
configure.ac: dpdk: tolerate no pkg-config

configure.ac

index 13e6340..7648152 100644 (file)
@@ -2360,7 +2360,8 @@ AC_ARG_WITH([libdpdk],
 )
 
 if test "x$with_libdpdk" != "xno"; then
-  PKG_CHECK_MODULES([DPDK], [libdpdk])
+  PKG_CHECK_MODULES([DPDK], [libdpdk], [],
+    [AC_MSG_NOTICE([no DPDK pkg-config, using defaults])])
   if test "x$LIBDPDK_CPPFLAGS" = "x"; then
     LIBDPDK_CPPFLAGS="-I/usr/include/dpdk"
   fi