summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 929a7f2)
raw | patch | inline | side by side (parent: 929a7f2)
author | root <root@zesty-test.lxd> | |
Thu, 17 Aug 2017 14:18:02 +0000 (14:18 +0000) | ||
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | |
Thu, 17 Aug 2017 14:38:17 +0000 (16:38 +0200) |
Since pull request #2400 pkg-config works great for dpdk, but not if
there is no pkg-config around at all.
To fix that the PKG_CHECK_MODULES macro needs to define a valid fourth
argument, otherwise it will error out.
This closes 2404
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
there is no pkg-config around at all.
To fix that the PKG_CHECK_MODULES macro needs to define a valid fourth
argument, otherwise it will error out.
This closes 2404
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 13e63404995c2920c5668d0b1c42ca9a57aa4774..14f85acbe0437907bc428f51eea02727ee1fbf21 100644 (file)
--- a/configure.ac
+++ b/configure.ac
)
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