diff options
author | Colomban Wendling <[email protected]> | 2020-08-07 22:13:06 +0200 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2020-08-08 23:24:58 +0200 |
commit | c685b957089beda464724eaa13d28c4d90b88453 (patch) | |
tree | 7b45e83d3bcdade3f5e4b05f74cf0df85d531208 /configure.ac | |
parent | f04847a9904688db9ea50fe6bc8060258570b85d (diff) | |
download | mate-settings-daemon-c685b957089beda464724eaa13d28c4d90b88453.tar.bz2 mate-settings-daemon-c685b957089beda464724eaa13d28c4d90b88453.tar.xz |
a11y-keyboard: Don't create a dummy object if AT-SPI is not available
Instead guard the caller to only use it if available.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bdaff53..8ec3b57 100644 --- a/configure.ac +++ b/configure.ac @@ -123,6 +123,7 @@ 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) +AM_CONDITIONAL([HAVE_LIBATSPI], [test "x$have_libatspi" = xyes]) 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])], []) |