[gtk+] INSTALL.in: Automate the versions of the dependencies
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] INSTALL.in: Automate the versions of the dependencies
- Date: Thu, 23 Sep 2010 17:05:35 +0000 (UTC)
commit 61e9f570d9222647d555e0138733440588e8faea
Author: Javier Jardón <jjardon gnome org>
Date: Thu Sep 23 17:22:13 2010 +0200
INSTALL.in: Automate the versions of the dependencies
INSTALL.in | 4 +++-
configure.ac | 10 ++++++++++
2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/INSTALL.in b/INSTALL.in
index baf00d8..8dde81f 100644
--- a/INSTALL.in
+++ b/INSTALL.in
@@ -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.
diff --git a/configure.ac b/configure.ac
index c695b21..f95f5ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]