configure: Check for libmnl
Subsystems (2)
PATCH 1/1 configure: Check for libmnl
From: Vadim Kochan <[email protected]>
Indicate existence of libmnl which is required by tipc.
Signed-off-by Vadim Kochan <[email protected]>
--- configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
configure +16 -0
@@ -284,6 +284,17 @@ check_selinux() fi } +check_mnl() +{ + if ${PKG_CONFIG} libmnl --exists + then + echo "HAVE_MNL:=y" >>Config + echo -n "yes" + else + echo -n "no" + fi +} + echo "# Generated config based on" $INCLUDE >Config check_toolchain
@@ -313,5 +324,10 @@ check_selinux echo -n "ELF support: " check_elf +echo -n "libmnl support: " +check_mnl +echo " (required by tipc)" + echo -e "\nDocs" check_docs +echo ""
Signature · 1 line
2.3.1