Commit b6907403 authored by Vadim Kochan's avatar Vadim Kochan Committed by Stephen Hemminger

configure: Check for libmnl

Indicate existence of libmnl which is required by tipc.
Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
parent 232aaf4f
...@@ -284,6 +284,17 @@ check_selinux() ...@@ -284,6 +284,17 @@ check_selinux()
fi 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 echo "# Generated config based on" $INCLUDE >Config
check_toolchain check_toolchain
...@@ -313,5 +324,10 @@ check_selinux ...@@ -313,5 +324,10 @@ check_selinux
echo -n "ELF support: " echo -n "ELF support: "
check_elf check_elf
echo -n "libmnl support: "
check_mnl
echo " (required by tipc)"
echo -e "\nDocs" echo -e "\nDocs"
check_docs check_docs
echo ""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment