introspection: Use new --accept-unprefixed
Also depend on an introspection version which has this.
This commit is contained in:
parent
2521e8103d
commit
77a5e817a5
2 changed files with 2 additions and 1 deletions
|
@ -301,7 +301,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$with_introspection != xno; then
|
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
|
if test x$have_introspection=xyes; then
|
||||||
MUTTER_PC_MODULES="$MUTTER_PC_MODULES gobject-introspection-1.0"
|
MUTTER_PC_MODULES="$MUTTER_PC_MODULES gobject-introspection-1.0"
|
||||||
AC_DEFINE(HAVE_INTROSPECTION, 1, [Define if GObject introspection is available])
|
AC_DEFINE(HAVE_INTROSPECTION, 1, [Define if GObject introspection is available])
|
||||||
|
|
|
@ -214,6 +214,7 @@ Meta-$(api_version).gir: $(G_IR_SCANNER) mutter $(libmutterinclude_HEADERS) $(mu
|
||||||
--namespace=Meta \
|
--namespace=Meta \
|
||||||
--nsversion=$(api_version) \
|
--nsversion=$(api_version) \
|
||||||
--warn-all \
|
--warn-all \
|
||||||
|
--accept-unprefixed \
|
||||||
--include=GObject-2.0 \
|
--include=GObject-2.0 \
|
||||||
--include=Gdk-@GTK_API_VERSION@ \
|
--include=Gdk-@GTK_API_VERSION@ \
|
||||||
--include=Gtk-@GTK_API_VERSION@ \
|
--include=Gtk-@GTK_API_VERSION@ \
|
||||||
|
|
Loading…
Reference in a new issue