summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-02-29 22:22:15 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-02-29 22:28:33 +0100
commit4c80c73c2b804576b1de27e644c1da4dab2f9026 (patch)
tree1c405f271d25d6a0b7b16bf111ef14bcee35404e /configure.ac
parent8dc6b88fd2dad113d7dab776d623d7b301e4b754 (diff)
systemctl: forward untrusted user reboot, poweroff requests to logind
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 62e8cdf582..fe1771c360 100644
--- a/configure.ac
+++ b/configure.ac
@@ -335,6 +335,7 @@ if test "x$enable_logind" != "xno"; then
have_logind=yes
fi
AM_CONDITIONAL(ENABLE_LOGIND, [test "$have_logind" = "yes"])
+AS_IF([test "$have_logind" = "yes"], [ AC_DEFINE(HAVE_LOGIND, [1], [Logind support available]) ])
have_hostnamed=no
AC_ARG_ENABLE(hostnamed, AS_HELP_STRING([--disable-hostnamed], [disable hostname daemon]))