summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2009-12-18 09:14:50 -0200
committerJohan Dahlin <johan@gnome.org>2009-12-18 09:16:24 -0200
commitfd15a3a04c69af0f5c04cde8c659269d0b139c28 (patch)
tree438e5138fa2bcf9879c4a479600c372c33059e90 /configure.in
parentf9adbd0a57b3f43451e6d1e05d75c96fd116c7ec (diff)
downloadpango-fd15a3a04c69af0f5c04cde8c659269d0b139c28.tar.gz
Use introspection.m4
Use introspection.m4 without requiring it to be included in the tree. https://bugzilla.gnome.org/show_bug.cgi?id=604770
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in23
1 files changed, 2 insertions, 21 deletions
diff --git a/configure.in b/configure.in
index 751a320e..6848d593 100644
--- a/configure.in
+++ b/configure.in
@@ -483,27 +483,8 @@ PKG_CHECK_MODULES(LIBTHAI, libthai >= $LIBTHAI_REQUIRED_VERSION, have_libthai=tr
#
# Checks for GObject Introspection
#
-have_introspection=false
-PKG_CHECK_MODULES(INTROSPECTION, gobject-introspection-1.0 >= 0.6.4, have_introspection=true, have_introspection=false)
-AM_CONDITIONAL(HAVE_INTROSPECTION, $have_introspection)
-
-G_IR_SCANNER=
-G_IR_COMPILER=
-G_IR_GENERATE=
-GIRDIR=
-TYPELIBDIR=
-if $have_introspection; then
- G_IR_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
- G_IR_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
- G_IR_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
- GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
- TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
-fi
-AC_SUBST(G_IR_SCANNER)
-AC_SUBST(G_IR_COMPILER)
-AC_SUBST(G_IR_GENERATE)
-AC_SUBST(GIRDIR)
-AC_SUBST(TYPELIBDIR)
+
+GOBJECT_INTROSPECTION_CHECK([0.6.7])
#
# Modules to build