forked from enlightenment/efl
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:
parent
cec8a49b51
commit
3940ff7f8b
|
@ -725,7 +725,10 @@ AC_SUBST([USER_SESSION_DIR])
|
||||||
|
|
||||||
if test "x${have_systemd_pkg}" = "xauto" -o "x${have_systemd_pkg}" = "xyes"; then
|
if test "x${have_systemd_pkg}" = "xauto" -o "x${have_systemd_pkg}" = "xyes"; then
|
||||||
PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 209],
|
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"])
|
[have_systemd_pkg="no"])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue