$(DBIND_CFLAGS) \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/registryd \
- -I$(top_srcdir) \
- -Werror=implicit-function-declaration
+ -I$(top_srcdir)
libatspi_la_LIBADD = $(DBUS_LIBS) \
$(GOBJ_LIBS) \
#ifndef _ATSPI_APPLICATION_H_
#define _ATSPI_APPLICATION_H_
-#include "glib-object.h"
+#include <dbus/dbus.h>
#include "atspi-accessible.h"
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])
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
$(GOBJ_CFLAGS) \
$(ATK_CFLAGS) \
-I$(top_srcdir) \
- -DATSPI_INTROSPECTION_PATH=\"$(pkgdatadir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)\" \
- -Werror=implicit-function-declaration
+ -DATSPI_INTROSPECTION_PATH=\"$(pkgdatadir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)\"
at_spi2_registryd_LDADD = \
../atspi/libatspi.la \