summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
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])],
[])