summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2009-12-14 21:46:42 -0200
committerJohan Dahlin <johan@gnome.org>2009-12-16 17:22:02 -0200
commit2ada5a9cb9bd1d0641daecbbb22dcc0042641623 (patch)
tree7e411562bdcd85abb577c16d94ff68ef128583f7 /m4
parent75c7d910ae599da12099bba856c75afa3eeda386 (diff)
downloadgtk+-2ada5a9cb9bd1d0641daecbbb22dcc0042641623.tar.gz
Update introspection.m4
This one includes the INTROSPECTION_MAKEFILE variable which we will include in all Makefiles which are going to build introspection girs/typelibs
Diffstat (limited to 'm4')
-rw-r--r--m4/introspection.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/introspection.m4 b/m4/introspection.m4
index 6e2c565f2a..589721c5a0 100644
--- a/m4/introspection.m4
+++ b/m4/introspection.m4
@@ -61,6 +61,7 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
+ INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
fi
AC_SUBST(INTROSPECTION_SCANNER)
AC_SUBST(INTROSPECTION_COMPILER)
@@ -69,6 +70,7 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
AC_SUBST(INTROSPECTION_TYPELIBDIR)
AC_SUBST(INTROSPECTION_CFLAGS)
AC_SUBST(INTROSPECTION_LIBS)
+ AC_SUBST(INTROSPECTION_MAKEFILE)
AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
])