diff options
author | Colomban Wendling <[email protected]> | 2020-08-05 16:21:43 +0200 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2020-08-08 23:24:58 +0200 |
commit | 7fb8e162baf14c632fb863efe034f298b5d1d174 (patch) | |
tree | 9990f23c24c434dfb1b7e83982d32698213ce4e5 /configure.ac | |
parent | 7c0d9fa87266156e3bb88a2f89386da17ea47a47 (diff) | |
download | mate-settings-daemon-7fb8e162baf14c632fb863efe034f298b5d1d174.tar.bz2 mate-settings-daemon-7fb8e162baf14c632fb863efe034f298b5d1d174.tar.xz |
a11y-keyboard: capslock-beep: Try and detect non-buggy libatspi2
Try and avoid the workaround for buggy libatspi2 if we can know the
version we're using has it fixed.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c2e1cfd..19dde6b 100644 --- a/configure.ac +++ b/configure.ac @@ -123,6 +123,9 @@ dnl --------------------------------------------------------------------------- PKG_CHECK_MODULES(LIBATSPI, atspi-2 >= $LIBATSPI_REQUIRED_VERSION, [AC_DEFINE(HAVE_LIBATSPI, 1, [Define if libatspi is available]) have_libatspi=yes], have_libatspi=no) +PKG_CHECK_EXISTS([atspi-2 > 2.36.0], + [AC_DEFINE([DESTROYING_ATSPI_LISTENER_DOES_NOT_CRASH], [1], [Define if libatspi does not have bug 22])], + []) dnl --------------------------------------------------------------------------- dnl - Check for D-Bus |