[gnome-session] configure.ac: Add support for new versions of systemd



commit 3474df12baedcdf09743cdff60e59b4b78539601
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Feb 10 16:34:38 2015 +0000

    configure.ac: Add support for new versions of systemd

 configure.ac |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 73a1075..324b8b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -118,8 +118,11 @@ AC_ARG_ENABLE([systemd],
               [enable_systemd=auto])
 
 PKG_CHECK_MODULES(SYSTEMD,
-                  [gio-unix-2.0 libsystemd-login >= 183 libsystemd-daemon libsystemd-journal],
-                  [have_systemd=yes], [have_systemd=no])
+                  [gio-unix-2.0 libsystemd >= 209],
+                  [have_systemd=yes],
+                  [PKG_CHECK_MODULES([SYSTEMD],
+                                     [gio-unix-2.0 libsystemd-login >= 183 libsystemd-daemon 
libsystemd-journal],
+                                     [have_systemd=yes],[have_systemd=no])])
 
 AC_MSG_CHECKING([whether to use systemd])
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]