configure: Check for libmnl

Indicate existence of libmnl which is required by tipc.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
This commit is contained in:
Vadim Kochan 2015-05-29 13:27:41 +03:00 committed by Stephen Hemminger
parent 232aaf4f4b
commit b6907403ef

16
configure vendored
View File

@ -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 ""