diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-05-24 13:39:02 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-05-24 13:39:02 -0500 |
commit | 8b8c0d2eec84ba6bdae952978f9c566057db48dd (patch) | |
tree | d66c5c38d7acb813b5486d2901035795a0d59da4 | |
parent | f3d115101ec6fbd67876797d5ac5a627df448ebc (diff) | |
download | at-spi2-core-8b8c0d2eec84ba6bdae952978f9c566057db48dd.tar.gz |
Add the disable_p2p meson option from at-spi2-atk
-rw-r--r-- | meson.build | 6 | ||||
-rw-r--r-- | meson_options.txt | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 053bf974..88776da0 100644 --- a/meson.build +++ b/meson.build @@ -199,6 +199,12 @@ configure_file(output: 'config.h', configuration: at_spi_conf) pkgconfig = import('pkgconfig') gnome = import('gnome') +if get_option('disable_p2p') + p2p_cflags = [ '-DDISABLE_P2P' ] +else + p2p_cflags = [] +endif + subdir('dbind') subdir('atspi') subdir('bus') diff --git a/meson_options.txt b/meson_options.txt index c8d5fd1d..7b647baf 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -33,3 +33,7 @@ option('x11', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto') +option('disable_p2p', + description: 'Disable peer-to-peer DBus connections for at-spi2-atk', + type: 'boolean', + value: false) |