From b6907403efd9d64ed5a140d3bc6e23773452bef9 Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Fri, 29 May 2015 13:27:41 +0300 Subject: [PATCH] configure: Check for libmnl Indicate existence of libmnl which is required by tipc. Signed-off-by: Vadim Kochan --- configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configure b/configure index f1325df8..1605464c 100755 --- a/configure +++ b/configure @@ -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 ""