[mutter] introspection: Use new --accept-unprefixed



commit 77a5e817a5c2d54bfd8ddd1c7ccbfdbc43ee29ae
Author: Colin Walters <walters verbum org>
Date:   Wed Sep 1 13:02:15 2010 -0400

    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 deletions(-)
---
diff --git a/configure.in b/configure.in
index 4623001..c0f1873 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 406e528..43a1324 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@		\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]