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=6
+AT_SPI_INTERFACE_AGE=6
+AT_SPI_BINARY_AGE=6
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 da de eo es fr he ko ms nl pl pt_BR pt ru sk sq sr@Latn sr sv vi"
+dnl ALL_LINGUAS="az be ca cs cy da de eo es fi fr he hi it ko ms nl pl pt_BR pt ru sk sq sr@Latn sr sv 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)