-AC_INIT([at-spi2-core], [1.91.91], [accessibility-atspi@lists.linux-foundation.org])
+AC_INIT([at-spi2-core], [2.1.5], [accessibility-atspi@lists.linux-foundation.org])
AC_PREREQ([2.59])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_MACRO_DIR([m4])
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.26.0])
AC_SUBST(GLIB_LIBS)
AC_SUBST(GLIB_CFLAGS)
-AC_CHECK_LIB([glib-2.0], [g_ptr_array_new_with_free_func], [],
+AC_CHECK_LIB([glib-2.0], [g_ptr_array_new_with_free_func], [:],
[AC_MSG_ERROR([The version of glib-2.0 found does not define ]
[g_ptr_array_new_with_free_func. Please upgrade glib.])],
[$GLIB_LIBS])
-PKG_CHECK_MODULES(DBUS_GLIB, [dbus-glib-1 >= 0.7.0])
-AC_SUBST(DBUS_GLIB_LIBS)
-AC_SUBST(DBUS_GLIB_CFLAGS)
-
PKG_CHECK_MODULES(GOBJ, [gobject-2.0 >= 2.0.0])
AC_SUBST(GOBJ_LIBS)
AC_SUBST(GOBJ_CFLAGS)
GTK_DOC_CHECK([1.09])
+if test "x$GCC" = xyes; then
+ CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
+fi
CPPFLAGS=$orig_CPPFLAGS
AC_CONFIG_FILES([Makefile po/Makefile.in
xml/Makefile
bus/Makefile
doc/Makefile
doc/libatspi/Makefile
+atspi-2.pc
+atspi-2-uninstalled.pc
])
AC_OUTPUT