]> Pileus Git - ~andy/gtk/commitdiff
Define the required introspection version in configure.ac
authorMatthias Clasen <mclasen@redhat.com>
Tue, 8 Feb 2011 23:40:08 +0000 (18:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 8 Feb 2011 23:40:08 +0000 (18:40 -0500)
INSTALL.in
configure.ac

index d3c7f05c0383d305958ff4e74f799f9deca78f1a..94d0394abf97bf0dfead43cfa272f19579308bb4 100644 (file)
@@ -9,7 +9,7 @@ GTK+ requires the following packages:
    GdkPixbuf @GDK_PIXBUF_REQUIRED_VERSION@, ATK @ATK_REQUIRED_VERSION@
    and cairo @CAIRO_REQUIRED_VERSION@.
 
- - gobject-introspection 0.9.3 or newer.
+ - gobject-introspection @INTROSPECTION_REQUIRED_VERSION@ or newer.
 
 Simple install procedure
 ========================
@@ -24,8 +24,8 @@ Simple install procedure
 The Details
 ===========
 
-Complete information about installing GTK+ and related libraries can be found 
-in the file:
+Complete information about installing GTK+ and related libraries
+can be found in the file:
 
  docs/reference/gtk/html/gtk-building.html
 
index 525816492ce09286c7e1390288c49be328924474..2866c8124732526049bb50c519ee3e58bad80809 100644 (file)
@@ -43,17 +43,21 @@ m4_define([pango_required_version], [1.20])
 m4_define([atk_required_version], [1.29.2])
 m4_define([cairo_required_version], [1.10.0])
 m4_define([gdk_pixbuf_required_version], [2.21.0])
+m4_define([introspection_required_version], [0.10.1])
+
 GLIB_REQUIRED_VERSION=glib_required_version
 PANGO_REQUIRED_VERSION=pango_required_version
 ATK_REQUIRED_VERSION=atk_required_version
 CAIRO_REQUIRED_VERSION=cairo_required_version
 GDK_PIXBUF_REQUIRED_VERSION=gdk_pixbuf_required_version
+INTROSPECTION_REQUIRED_VERSION=introspection_required_version
+
 AC_SUBST(GLIB_REQUIRED_VERSION)
 AC_SUBST(PANGO_REQUIRED_VERSION)
 AC_SUBST(ATK_REQUIRED_VERSION)
 AC_SUBST(CAIRO_REQUIRED_VERSION)
 AC_SUBST(GDK_PIXBUF_REQUIRED_VERSION)
-
+AC_SUBST(INTROSPECTION_REQUIRED_VERSION)
 
 # Save this value here, since automake will set cflags later
 cflags_set=${CFLAGS+set}
@@ -1491,7 +1495,7 @@ GLIB_GSETTINGS
 # GObject introspection
 ##################################################
 
-GOBJECT_INTROSPECTION_CHECK([0.10.1])
+GOBJECT_INTROSPECTION_CHECK(introspection_required_version)
 
 ##################################################
 # Packagekit module