mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2026-01-25 01:38:13 +00:00
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:
parent
232aaf4f4b
commit
b6907403ef
16
configure
vendored
16
configure
vendored
@ -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 ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user