diff mbox series

[ovs-dev,v2] acinclude: Provide better error info when linking fails with DPDK.

Message ID 20211208075317.1577200-1-sunil.pai.g@intel.com
State Superseded
Headers show
Series [ovs-dev,v2] acinclude: Provide better error info when linking fails with DPDK. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed

Commit Message

Pai G, Sunil Dec. 8, 2021, 7:53 a.m. UTC
Currently, on failure to link with DPDK, the configure script provides
an error message to update the PKG_CONFIG_PATH even though the cause of
failure was missing dependencies. Improve the error message to include this
scenario.

Signed-off-by: Sunil Pai G <sunil.pai.g@intel.com>
---
 acinclude.m4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/acinclude.m4 b/acinclude.m4
index dba365ea1..cadf71cc1 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -486,7 +486,8 @@  AC_DEFUN([OVS_CHECK_DPDK], [
        DPDKLIB_FOUND=true],
       [AC_MSG_RESULT([no])
        AC_MSG_ERROR(m4_normalize([
-          Could not find DPDK library in default search path, update
+          Failed to link to with DPDK, check config.log for more details.
+          Could not find working DPDK library in default search path, update
           PKG_CONFIG_PATH for pkg-config to find the .pc file in
           non-standard location]))
       ])