summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2014-09-27 09:01:08 +0200
committerLubomir Rintel <lkundrak@v3.sk>2015-01-26 13:05:06 +0100
commitb47d55b5004c4028b27b9153eb4e3bab1b8b82b5 (patch)
treead12818a72e9990caad85642838d4a1f2473d3cb
parent24e7ea786058597fdb45842377045e73ba8f923d (diff)
downloadNetworkManager-b47d55b5004c4028b27b9153eb4e3bab1b8b82b5.tar.gz
build: Check for tokenized identifier support in libnl-route-3
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a744755203..9fbfe00635 100644
--- a/configure.ac
+++ b/configure.ac
@@ -438,6 +438,13 @@ else
AC_DEFINE(HAVE_KERNEL_INET6_ADDR_GEN_MODE, 0, [Define if the kernel has IN6_ADDR_GEN_MODE_*])
fi
+# IPv6 tokenized identifiers support in libnl
+AC_CHECK_LIB([nl-route-3], [rtnl_link_inet6_get_token],
+ ac_have_ipv6_token="1",
+ ac_have_ipv6_token="0")
+AC_DEFINE_UNQUOTED(HAVE_LIBNL_INET6_TOKEN,
+ $ac_have_ipv6_token, [Define if libnl has rtnl_link_inet6_get_token()])
+
# uuid library
PKG_CHECK_MODULES(UUID, uuid)
AC_SUBST(UUID_CFLAGS)