From 3940ff7f8bf625b0dd87a2c0eeae76e3b2e3ca7f Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 18 May 2016 16:42:59 -0400 Subject: [PATCH] efl: Define if systemd version >= 209 Elput conditionally requires this to choose proper codepath wrt systemd-logind @fix Signed-off-by: Chris Michael --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 89008168bc..a3753201a7 100644 --- a/configure.ac +++ b/configure.ac @@ -725,7 +725,10 @@ AC_SUBST([USER_SESSION_DIR]) if test "x${have_systemd_pkg}" = "xauto" -o "x${have_systemd_pkg}" = "xyes"; then PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 209], - [have_systemd_pkg="yes"], + [ + have_systemd_pkg="yes" + AC_DEFINE_UNQUOTED([HAVE_SYSTEMD_LOGIN_209],[1],[Defined if systemd >= 209]) + ], [have_systemd_pkg="no"]) fi