diff options
author | Johan Dahlin <jdahlin@litl.com> | 2009-12-14 17:21:54 -0200 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2009-12-14 20:59:56 -0200 |
commit | ca7865b8b29e8a764e3511d556e16c00432c2fd2 (patch) | |
tree | 703be5f949a57e370ea9716c38506033aca0fd6d /m4/introspection.m4 | |
parent | db381df952f39a2a50ca29e83bfe1d3235edd3ee (diff) | |
download | gobject-introspection-ca7865b8b29e8a764e3511d556e16c00432c2fd2.tar.gz |
Add a Makefile.introspection
This will make it easier for third-party projects to use
introspection by having easy make rules.
Diffstat (limited to 'm4/introspection.m4')
-rw-r--r-- | m4/introspection.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/introspection.m4 b/m4/introspection.m4 index 6e2c565f..589721c5 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") ]) |