chiark / gitweb /
systemctl: forward untrusted user reboot, poweroff requests to logind
[elogind.git] / configure.ac
index 62e8cdf5827e2393957a4882110569ad3e275346..fe1771c360f7d1dd928e0b1e8a11d597868535a9 100644 (file)
@@ -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]))