diff options
author | Patrick Welche <prlw1@cam.ac.uk> | 2011-05-14 17:57:42 +0100 |
---|---|---|
committer | Patrick Welche <prlw1@cam.ac.uk> | 2011-05-14 17:57:42 +0100 |
commit | 377ef7c311a5a3b1718bf4474612c5a47db11fd0 (patch) | |
tree | 9c12d486783e4f2489ccd7e2e7f91b6b281b805d /atspi | |
parent | a97f76c0e6fd75d262c22831d75e833a1e2b2aea (diff) | |
download | at-spi2-core-377ef7c311a5a3b1718bf4474612c5a47db11fd0.tar.gz |
Build fixes.
- atspi-application.h makes use of DBusConnection* .
- -Werror-implicit-function-declaration doesn't contain an equal sign in
my copy of gcc, and is gcc specific.
- The default behaviour of AC_CHECK_LIB glib-2.0 is to add -lglib-2.0 to
LIBS which can then cause the search for a dlopen function to fail
because the flags to find libglib aren't included. Solution is to
tell AC_CHECK_LIB to do nothing(!)
Diffstat (limited to 'atspi')
-rw-r--r-- | atspi/Makefile.am | 3 | ||||
-rw-r--r-- | atspi/atspi-application.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/atspi/Makefile.am b/atspi/Makefile.am index c02981a9..8a264301 100644 --- a/atspi/Makefile.am +++ b/atspi/Makefile.am @@ -6,8 +6,7 @@ libatspi_la_CFLAGS = $(DBUS_CFLAGS) \ $(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) \ diff --git a/atspi/atspi-application.h b/atspi/atspi-application.h index 1e0dd797..bb159783 100644 --- a/atspi/atspi-application.h +++ b/atspi/atspi-application.h @@ -25,7 +25,7 @@ #ifndef _ATSPI_APPLICATION_H_ #define _ATSPI_APPLICATION_H_ -#include "glib-object.h" +#include <dbus/dbus.h> #include "atspi-accessible.h" |