Check for a new enough systemd that sd_uid_get_seats (., ., NULL) is valid
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 7 Feb 2012 16:00:41 +0000 (16:00 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 7 Feb 2012 16:07:04 +0000 (16:07 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39609

configure.ac

index 2b9e740..29f45d2 100644 (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)