AT_SPI_MAJOR_VERSION=1
AT_SPI_MINOR_VERSION=3
-AT_SPI_MICRO_VERSION=5
-AT_SPI_INTERFACE_AGE=5
-AT_SPI_BINARY_AGE=5
+AT_SPI_MICRO_VERSION=7
+AT_SPI_INTERFACE_AGE=7
+AT_SPI_BINARY_AGE=7
AT_SPI_VERSION="$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION.$AT_SPI_MICRO_VERSION"
AM_INIT_AUTOMAKE(at-spi, $AT_SPI_VERSION)
AC_SUBST(AT_SPI_MAJOR_VERSION)
AM_PROG_LIBTOOL
dnl internationalization support
-dnl ALL_LINGUAS="be ca cs cy de eo es fr he ms nl pl pt_BR pt ru sk sr@Latn sr sv vi"
+dnl ALL_LINGUAS="az be bn ca cs cy da de el eo es et eu fi fr he hi is it ja ko lt mn ms ne nl nn no pl pt_BR pt ro ru sk sl sq sr@Latn sr sv uk vi zh_CN"
dnl AM_GLIB_GNU_GETTEXT
AC_CHECK_PROG(GTKDOC, gtkdoc-mkdb, true, false)
AC_CHECK_HEADER(X11/extensions/XInput.h, have_xinput=yes)
AC_SUBST(XINPUT_LIBS)
+dnl Allow disabling XEViE.
+AC_ARG_ENABLE(xevie, [ --enable-xevie Build with XEViE support [default=yes]], enable_xevie="$enableval", enable_xevie=yes)
+
+if test x$enable_xevie = xyes ; then
+ have_xevie=
+ AC_CHECK_LIB(Xext, XevieQueryVersion, have_xevie="yes")
+
+ if test "x$have_xevie" = "xyes"; then
+ XEVIE_LIBS=-lXext
+ AC_DEFINE(HAVE_XEVIE)
+ fi
+ AC_SUBST(XEVIE_LIBS)
+fi
+
dnl CFLAGS="$CFLAGS -Wall"
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)