efl: Define if systemd version >= 209

Elput conditionally requires this to choose proper codepath wrt systemd-logind

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
Chris Michael 2016-05-18 16:42:59 -04:00
parent cec8a49b51
commit 3940ff7f8b
1 changed files with 4 additions and 1 deletions

View File

@ -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