Check for a new enough systemd that sd_uid_get_seats (., ., NULL) is valid

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39609
This commit is contained in:
Simon McVittie 2012-02-07 16:00:41 +00:00
parent ba71873c72
commit 3872970597

View file

@ -1140,7 +1140,7 @@ if test x$enable_systemd = xno ; then
have_systemd=no;
else
PKG_CHECK_MODULES(SYSTEMD,
[ libsystemd-login libsystemd-daemon ],
[libsystemd-login >= 32, libsystemd-daemon >= 32],
have_systemd=yes,
have_systemd=no)
AC_SUBST(SYSTEMD_CFLAGS)