[gcr] Add proper bounds on our glib dependency
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr] Add proper bounds on our glib dependency
- Date: Mon, 2 Dec 2013 12:27:59 +0000 (UTC)
commit 20a53caff1a90082d64680fa67c8606ce725ba56
Author: Stef Walter <stefw gnome org>
Date: Sun Nov 10 14:22:17 2013 +0100
Add proper bounds on our glib dependency
configure.ac | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a80cf79..dab43d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,13 @@ AC_INIT([gcr], [3.10.0],
[gcr])
dnl ****************************************************************************
+dnl Dependency versions
+
+GLIB_REQ=2.32.0
+GLIB_MIN=GLIB_VERSION_2_32
+GLIB_MAX=GLIB_VERSION_2_34
+
+dnl ****************************************************************************
dnl Library package and libtool versioning
dnl
dnl Updating the libtool versions, follow these instructions sequentially:
@@ -66,11 +73,13 @@ AM_GLIB_GNU_GETTEXT
# GLib and GTK+ stuff
PKG_CHECK_MODULES(GLIB,
- glib-2.0 >= 2.32.0
+ glib-2.0 >= $GLIB_MIN
gmodule-no-export-2.0
gthread-2.0
gobject-2.0
gio-2.0 gio-unix-2.0)
+GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=$GLIB_MIN"
+GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MAX_ALLOWED=$GLIB_MAX"
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]