diff options
author | Sunil Pai G <sunil.pai.g@intel.com> | 2022-01-09 02:05:46 -0700 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-01-12 13:11:29 +0100 |
commit | 8bc135d2d584184c4f6fd9ac0749f04535447a51 (patch) | |
tree | 061bda5278808dfdafa8a572772533355452d870 /acinclude.m4 | |
parent | 1140c87e2eb7ff547cd26a937525a498b494a04f (diff) | |
download | openvswitch-8bc135d2d584184c4f6fd9ac0749f04535447a51.tar.gz |
acinclude: Provide better error info when linking fails with DPDK.
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>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 23cd6df44..5c971e98c 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -492,9 +492,10 @@ 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 - PKG_CONFIG_PATH for pkg-config to find the .pc file in - non-standard location])) + Failed to link with DPDK, check the config.log for more details. + If a working DPDK library was not found in the default search path, + update PKG_CONFIG_PATH for pkg-config to find the .pc file in a + non-standard location.])) ]) CFLAGS="$ovs_save_CFLAGS" |