aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-12-06 10:50:24 -0600
committerTed Gould <ted@gould.cx>2010-12-06 10:50:24 -0600
commit5f1c15b654a09bf8d5ad04b8d8ff046cdf7068fa (patch)
treee29b45d3210f83a00233cfcfb2fb2aa0acec4c9c /libdbusmenu-gtk
parent12cc39d7e2b62a279377448338a0e8af384494f2 (diff)
downloadlibdbusmenu-5f1c15b654a09bf8d5ad04b8d8ff046cdf7068fa.tar.gz
libdbusmenu-5f1c15b654a09bf8d5ad04b8d8ff046cdf7068fa.tar.bz2
libdbusmenu-5f1c15b654a09bf8d5ad04b8d8ff046cdf7068fa.zip
Add a check for GIR version less that 10
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/Makefile.am b/libdbusmenu-gtk/Makefile.am
index e539aa6..19765d5 100644
--- a/libdbusmenu-gtk/Makefile.am
+++ b/libdbusmenu-gtk/Makefile.am
@@ -66,11 +66,19 @@ pkgconfigdir = $(libdir)/pkgconfig
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
+
+if INTROSPECTION_TEN
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
--add-include-path=$(top_builddir)/libdbusmenu-glib \
$(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources)) \
--symbol-prefix=dbusmenu \
--identifier-prefix=DbusmenuGtk
+else
+INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
+ --add-include-path=$(top_builddir)/libdbusmenu-glib \
+ $(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources))
+endif
+
INTROSPECTION_COMPILER_ARGS = --includedir=$(builddir) --includedir=$(top_builddir)/libdbusmenu-glib
if HAVE_INTROSPECTION