]> Pileus Git - ~andy/gtk/commitdiff
INSTALL.in: Automate the versions of the dependencies
authorJavier Jardón <jjardon@gnome.org>
Thu, 23 Sep 2010 15:22:13 +0000 (17:22 +0200)
committerJavier Jardón <jjardon@gnome.org>
Thu, 23 Sep 2010 17:05:13 +0000 (19:05 +0200)
INSTALL.in
configure.ac

index baf00d8fbafdd1d6dcab61eaa7319c044113f230..8dde81fd7af635c294330f6997c6ea152147ba49 100644 (file)
@@ -5,7 +5,9 @@ GTK+ requires the following packages:
 
  - The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at
    the same location as GTK+. GTK+ @GTK_VERSION@ requires at least
-   GLib 2.23.6, Pango 1.20, GdkPixbuf 2.21.0 ATK 1.29.2 and cairo 1.6.0.
+   GLib @GLIB_REQUIRED_VERSION@, Pango @PANGO_REQUIRED_VERSION@,
+   GdkPixbuf @GDK_PIXBUF_REQUIRED_VERSION@, ATK @ATK_REQUIRED_VERSION@
+   and cairo @CAIRO_REQUIRED_VERSION@.
 
  - gobject-introspection 0.6.7 or newer.
 
index c695b21fc7f0f55cb8b343035881a57e5f1a385b..f95f5baf38a0d04c354659be59bc0e5db52a9ce2 100644 (file)
@@ -36,6 +36,16 @@ m4_define([pango_required_version], [1.20])
 m4_define([atk_required_version], [1.29.2])
 m4_define([cairo_required_version], [1.9.10])
 m4_define([gdk_pixbuf_required_version], [2.21.0])
+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
+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_INIT([gtk+], [gtk_version],