From: Vadim Kochan Date: Fri, 29 May 2015 10:27:41 +0000 (+0300) Subject: configure: Check for libmnl X-Git-Tag: v4.1.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6907403efd9d64ed5a140d3bc6e23773452bef9;p=thirdparty%2Fiproute2.git configure: Check for libmnl Indicate existence of libmnl which is required by tipc. Signed-off-by: Vadim Kochan --- diff --git a/configure b/configure index f1325df8a..1605464c6 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 ""