summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon van der Linden <svdlinden@src.gnome.org>2009-08-26 10:05:23 +0200
committerColin Walters <walters@verbum.org>2009-09-04 16:56:59 -0400
commitfb5e8ff56a2c474412466f97bc3ab3890801dda3 (patch)
treeb4cae1e1ee7109da34f386ed10d952cb538d3390
parentf0edd87e607cccc41946ddbd003593841b028e7c (diff)
downloadgobject-introspection-fb5e8ff56a2c474412466f97bc3ab3890801dda3.tar.gz
Add CLFAGS and LIBS variables
-rw-r--r--m4/introspection.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/introspection.m4 b/m4/introspection.m4
index f9ce49ce..6e2c565f 100644
--- a/m4/introspection.m4
+++ b/m4/introspection.m4
@@ -59,12 +59,16 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
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`
fi
AC_SUBST(INTROSPECTION_SCANNER)
AC_SUBST(INTROSPECTION_COMPILER)
AC_SUBST(INTROSPECTION_GENERATE)
AC_SUBST(INTROSPECTION_GIRDIR)
AC_SUBST(INTROSPECTION_TYPELIBDIR)
+ AC_SUBST(INTROSPECTION_CFLAGS)
+ AC_SUBST(INTROSPECTION_LIBS)
AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
])