From 90acbcf20b5f896ca8f631923afe946c90d90de7 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sun, 27 Jun 2010 21:22:11 +0200 Subject: Use netlink to detect going online Integrates libnl to detect adding routes. When a route is added, the offline status of all back ends is reset. This patch adds no heuristics to detect whether back end went offline. Fixes: #456 --- src/configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/configure.ac') diff --git a/src/configure.ac b/src/configure.ac index 811c2d9c..8a2a95f8 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -72,6 +72,7 @@ WITH_PYTHON_BINDINGS WITH_SELINUX WITH_NSCD WITH_SEMANAGE +WITH_LIBNL m4_include([external/platform.m4]) m4_include([external/pkg.m4]) @@ -96,6 +97,7 @@ m4_include([external/crypto.m4]) m4_include([external/nscd.m4]) m4_include([external/nsupdate.m4]) m4_include([external/libkeyutils.m4]) +m4_include([external/libnl.m4]) m4_include([util/signal.m4]) PKG_CHECK_MODULES([DBUS],[dbus-1]) @@ -136,6 +138,10 @@ if test x$HAVE_SEMANAGE != x -a x$HAVE_SELINUX != x; then AM_CHECK_SEMANAGE fi +if test x$HAVE_LIBNL != x; then + AM_CHECK_LIBNL +fi + AC_CHECK_HEADERS([sys/inotify.h]) AC_CHECK_HEADERS([sasl/sasl.h],,AC_MSG_ERROR([Could not find SASL headers])) -- cgit