diff mbox series

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

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

Commit Message

Github ODP bot Jan. 24, 2018, 3 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: b3627670bafa53ad9e0b7833b8864144ce6d7621
 **/
 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])
 ])