From f659aab5b5db859d389f82b3d4a1a4a7b13ed849 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 12 Sep 2022 13:37:42 -0400 Subject: meson: Change x11 option to feature --- atspi/meson.build | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'atspi') diff --git a/atspi/meson.build b/atspi/meson.build index bd8dbb19..e9d2882b 100644 --- a/atspi/meson.build +++ b/atspi/meson.build @@ -60,12 +60,9 @@ atspi_headers = [ 'atspi-value.h', ] -x11_option = get_option('x11') -if x11_option != 'no' - if x11_dep.found() - atspi_sources += ['atspi-device-x11.c'] - atspi_headers += ['atspi-device-x11.h'] - endif +if x11_dep.found() + atspi_sources += ['atspi-device-x11.c'] + atspi_headers += ['atspi-device-x11.h'] endif atspi_includedir = join_paths(get_option('prefix'), get_option('includedir'), 'at-spi-2.0', 'atspi') -- cgit v1.2.1