[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1432895261-11826-1-git-send-email-vadim4j@gmail.com>
Date: Fri, 29 May 2015 13:27:41 +0300
From: Vadim Kochan <vadim4j@...il.com>
To: netdev@...r.kernel.org
Cc: Vadim Kochan <vadim4j@...il.com>
Subject: [PATCH iproute2] configure: Check for libmnl
From: Vadim Kochan <vadim4j@...il.com>
Indicate existence of libmnl which is required by tipc.
Signed-off-by: Vadim Kochan <vadim4j@...il.com>
---
configure | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/configure b/configure
index f1325df..1605464 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 ""
--
2.3.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists