[libpeas] Add min required and max allowed version for glib and Gdk
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Add min required and max allowed version for glib and Gdk
- Date: Sat, 22 Sep 2012 11:50:26 +0000 (UTC)
commit 9c6f6565ab814b9ce3f4ef5b98c15a318bc09aef
Author: Garrett Regier <garrettregier gmail com>
Date: Fri Sep 21 06:17:38 2012 -0700
Add min required and max allowed version for glib and Gdk
configure.ac | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fd51317..94a1162 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,11 +102,14 @@ AC_SUBST(GLIB_REQUIRED)
AC_SUBST(GIO_REQUIRED)
AC_SUBST(INTROSPECTION_REQUIRED)
+AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_32, [minimum glib version])
+AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, GLIB_VERSION_2_32, [maximum glib version])
+
dnl ================================================================
dnl Build libpeas-gtk
dnl ================================================================
-GTK_REQUIRED=2.91.1
+GTK_REQUIRED=3.0.0
AC_ARG_ENABLE(gtk,
AS_HELP_STRING([--enable-gtk],[Build libpeas-gtk for Gtk widgetry]),
@@ -121,6 +124,9 @@ fi
AC_SUBST(GTK_REQUIRED)
+AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_0, [minimum gdk version])
+AC_DEFINE(GDK_VERSION_MAX_ALLOWED, GDK_VERSION_3_0, [maximum gdk version])
+
AM_CONDITIONAL([ENABLE_GTK],[test "x$enable_gtk" = "xyes"])
dnl ================================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]