forked from enlightenment/efl
meson - systemd - fix check to systemd209+ checks that were not done
autofoo did these and set defines code relied on. meson did not. this fixes that and makes meson do the same checks with the same defines.
This commit is contained in:
parent
3a075988e4
commit
10819b4ea5
|
@ -264,6 +264,9 @@ if get_option('systemd') == true
|
||||||
systemd = dependency('libsystemd')
|
systemd = dependency('libsystemd')
|
||||||
eina_deps += systemd
|
eina_deps += systemd
|
||||||
config_h.set('HAVE_SYSTEMD', '1')
|
config_h.set('HAVE_SYSTEMD', '1')
|
||||||
|
if systemd.version().version_compare('>=209')
|
||||||
|
config_h.set('HAVE_SYSTEMD_LOGIN_209', '1')
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
systemd = []
|
systemd = []
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue