summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2014-07-22 17:41:18 +0100
committerJavier Jardón <jjardon@gnome.org>2014-07-22 17:41:18 +0100
commit7c91b8188115e884337ac0f3fc97bfbbbb0dca1c (patch)
tree4a8425ed539f6b18d9460b7dad6c9d147719baf8
parent2eb7769384b7da62247bdb2b9a2f4a91a9c4f308 (diff)
downloadpolkit-baserock/gnome.tar.gz
Revert "build: try harder to avoid systemd/consolekit misconfiguration"baserock/gnome
This reverts commit 80a10b589fa606930b0dab2e2613e77b734d9a6b.
-rw-r--r--configure.ac20
1 files changed, 0 insertions, 20 deletions
diff --git a/configure.ac b/configure.ac
index e783ea5..dd1bce8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,26 +213,6 @@ if test "$enable_libsystemd_login" != "no"; then
fi
fi
-AS_IF([test "x$cross_compiling" != "xyes" ], [
- AS_IF([test "$have_libsystemd_login" = "yes"], [
- AS_IF([test ! -d /sys/fs/cgroup/systemd/ ], [
- AS_IF([test "$enable_libsystemd_login" = "yes"], [
- AC_MSG_WARN([libsystemd-login requested but system does not appear to be using systemd])
- ], [
- AC_MSG_ERROR([libsystemd-login autoconfigured, but system does not appear to use systemd])
- ])
- ])
- ], [
- AS_IF([test -d /sys/fs/cgroup/systemd/ ], [
- AS_IF([test "$enable_libsystemd_login" = "no" ], [
- AC_MSG_WARN([ConsoleKit requested but system appears to use systemd])
- ], [
- AC_MSG_ERROR([ConsoleKit autoconfigured, but systemd is in use (missing libsystemd-login pkg-config?)])
- ])
- ])
- ])
-])
-
AC_SUBST(LIBSYSTEMD_LOGIN_CFLAGS)
AC_SUBST(LIBSYSTEMD_LOGIN_LIBS)
AM_CONDITIONAL(HAVE_LIBSYSTEMD_LOGIN, [test "$have_libsystemd_login" = "yes"], [Using libsystemd-login])