From 4b4df2adf240e8b193fbaaba72209de12e290235 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 29 Aug 2022 12:51:38 -0400 Subject: build: Remove some now-unnecessary meson conditionals --- meson.build | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index be059417..d8df021b 100644 --- a/meson.build +++ b/meson.build @@ -102,17 +102,13 @@ endif # systemd systemd_dep = dependency('systemd') libsystemd_dep = dependency('libsystemd') -if meson.version().version_compare('>= 0.53') - systemd_multiseat_x = find_program('systemd-multi-seat-x', - required: false, - dirs: [ - systemd_dep.get_pkgconfig_variable('systemdutildir'), - '/lib/systemd', - '/usr/lib/systemd', - ]) -else - systemd_multiseat_x = find_program('systemd-multi-seat-x', required: false) -endif +systemd_multiseat_x = find_program('systemd-multi-seat-x', + required: false, + dirs: [ + systemd_dep.get_pkgconfig_variable('systemdutildir'), + '/lib/systemd', + '/usr/lib/systemd', + ]) systemd_x_server = systemd_multiseat_x.found()? systemd_multiseat_x.path() : '/lib/systemd/systemd-multi-seat-x' # Plymouth plymouth_dep = dependency('ply-boot-client', required: get_option('plymouth')) @@ -285,7 +281,6 @@ gnome.post_install( glib_compile_schemas: true, ) -if meson.version().version_compare('>= 0.53') summary({ 'datadir': gdm_prefix / get_option('datadir'), 'sysconfdir': gdm_prefix / get_option('sysconfdir'), @@ -338,4 +333,3 @@ summary({ section: 'Features', bool_yn: true, ) -endif -- cgit v1.2.1