From 77a5e817a5c2d54bfd8ddd1c7ccbfdbc43ee29ae Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 1 Sep 2010 13:02:15 -0400 Subject: [PATCH] introspection: Use new --accept-unprefixed Also depend on an introspection version which has this. --- configure.in | 2 +- src/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 4623001f0..c0f187379 100644 --- a/configure.in +++ b/configure.in @@ -301,7 +301,7 @@ else fi if test x$with_introspection != xno; then - PKG_CHECK_MODULES(INTROSPECTION, gobject-introspection-1.0, have_introspection=yes, have_introspection=no) + PKG_CHECK_MODULES(INTROSPECTION, gobject-introspection-1.0 >= 0.9.5, have_introspection=yes, have_introspection=no) if test x$have_introspection=xyes; then MUTTER_PC_MODULES="$MUTTER_PC_MODULES gobject-introspection-1.0" AC_DEFINE(HAVE_INTROSPECTION, 1, [Define if GObject introspection is available]) diff --git a/src/Makefile.am b/src/Makefile.am index 406e528e9..43a132496 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -214,6 +214,7 @@ Meta-$(api_version).gir: $(G_IR_SCANNER) mutter $(libmutterinclude_HEADERS) $(mu --namespace=Meta \ --nsversion=$(api_version) \ --warn-all \ + --accept-unprefixed \ --include=GObject-2.0 \ --include=Gdk-@GTK_API_VERSION@ \ --include=Gtk-@GTK_API_VERSION@ \