From 10819b4ea522915a88abfe065a93d25bfa9a14d6 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sat, 8 Dec 2018 04:47:06 +0000 Subject: [PATCH] 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. --- src/lib/eina/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build index a814673e24..8a445f4056 100644 --- a/src/lib/eina/meson.build +++ b/src/lib/eina/meson.build @@ -264,6 +264,9 @@ if get_option('systemd') == true systemd = dependency('libsystemd') eina_deps += systemd config_h.set('HAVE_SYSTEMD', '1') + if systemd.version().version_compare('>=209') + config_h.set('HAVE_SYSTEMD_LOGIN_209', '1') + endif else systemd = [] endif