* [PATCH iproute2] configure: Check for libmnl
@ 2015-05-29 10:27 Vadim Kochan
0 siblings, 0 replies; only message in thread
From: Vadim Kochan @ 2015-05-29 10:27 UTC (permalink / raw)
To: netdev; +Cc: Vadim Kochan
From: Vadim Kochan <vadim4j@gmail.com>
Indicate existence of libmnl which is required by tipc.
Signed-off-by: Vadim Kochan <vadim4j@gmail.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-29 10:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-29 10:27 [PATCH iproute2] configure: Check for libmnl Vadim Kochan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).