-AC_INIT([at-spi2-atk], [1.91.93], [accessibility-atspi@lists.linux-foundation.org])
+AC_INIT([at-spi2-atk], [2.5.2], [accessibility-atspi@lists.linux-foundation.org])
AC_CONFIG_AUX_DIR(config)
AT_SPI_ATK_MAJOR_VERSION=0
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
-AM_INIT_AUTOMAKE([-Wall foreign])
+AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz])
+
+# Enable silent build when available (Automake 1.11)
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
dnl translation of any at-spi strings: used only for .server
IT_PROG_INTLTOOL([0.40.0])
AC_SUBST(GMODULE_LIBS)
AC_SUBST(GMODULE_CFLAGS)
-PKG_CHECK_MODULES(ATK, [atk >= 1.29.3])
+PKG_CHECK_MODULES(ATK, [atk >= 2.1.5])
AC_SUBST(ATK_LIBS)
AC_SUBST(ATK_CFLAGS)
-PKG_CHECK_MODULES(ATSPI, [atspi-2 >= 1.91.92])
+PKG_CHECK_MODULES(ATSPI, [atspi-2 >= 2.1.4])
AC_SUBST(ATSPI_LIBS)
AC_SUBST(ATSPI_CFLAGS)
-AC_PATH_XTRA
-
-if test x$no_x = xyes ; then
- AC_MSG_ERROR([X development libraries not found])
-else
- X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
-fi
-AC_SUBST(X_LIBS)
-
GLIB_GSETTINGS
AC_ARG_ENABLE(p2p, [ --enable-p2p Allow peer-to-peer DBus connections [default=yes]], enable_p2p="$enableval", enable_p2p=yes)
DBIND_CHECK_ALIGNOF(dbind_struct)
CPPFLAGS=$orig_CPPFLAGS
+if test "x$GCC" = xyes; then
+ CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
+fi
+
if test "x$enable_p2p" = "xno"; then
P2P_CFLAGS=-DDISABLE_P2P
fi
AC_SUBST(P2P_CFLAGS)
AC_CONFIG_FILES([Makefile
+ atk-bridge-2.0.pc
dbind/dbind-config.h
dbind/Makefile
droute/Makefile
- common/Makefile
atk-adaptor/Makefile
atk-adaptor/adaptors/Makefile
atk-adaptor/gtk-2.0/Makefile