diff mbox series

[v3,2/5] build: odp_dpdk: print info on detected DPDK type and location

Message ID 1516759212-29210-3-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v3,1/5] build: odp_dpdk: another fix for linking with shared libdpdk | expand

Commit Message

Github ODP bot Jan. 24, 2018, 2 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 416 (lumag:trav-dpdk-shared)
 ** https://github.com/Linaro/odp/pull/416
 ** Patch: https://github.com/Linaro/odp/pull/416.patch
 ** Base sha: b122176ee59494dd957f0f5ff41d4b55a1477e13
 ** Merge commit sha: eda6bc11b0fade6a40b217608359775c2c7043f8
 **/
 m4/odp_dpdk.m4 | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/m4/odp_dpdk.m4 b/m4/odp_dpdk.m4
index 81ace08a9..bf3dfccfa 100644
--- a/m4/odp_dpdk.m4
+++ b/m4/odp_dpdk.m4
@@ -130,5 +130,8 @@  AS_IF([test "x$1" = "xsystem"], [dnl
 	DPDK_SHARED=yes
     fi
 ])
+AS_IF([test "x$DPDK_SHARED" = "xyes"],
+      [AC_MSG_NOTICE([Using shared DPDK library found at $DPDK_PMD_PATH])],
+      [AC_MSG_NOTICE([Using static DPDK library found at $DPDK_PMD_PATH])])
 _ODP_DPDK_CHECK([$DPDK_CPPFLAGS], [$DPDK_LDFLAGS], [$2], [$3])
 ])