[Xfce4-commits] <midori:master> Don't assume GLib 2.30 bindings for Vala < 2.16

Christian Dywan noreply at xfce.org
Thu Nov 22 02:24:01 CET 2012


Updating branch refs/heads/master
         to 2172d5def75ea776740ef94c3a2a738da30aa92c (commit)
       from 7d50b0e12b3b8027ccbcffc2ef71c7d4ea147951 (commit)

commit 2172d5def75ea776740ef94c3a2a738da30aa92c
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Nov 22 02:22:10 2012 +0100

    Don't assume GLib 2.30 bindings for Vala < 2.16

 wscript |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/wscript b/wscript
index 0d3da7d..c2ed5cd 100644
--- a/wscript
+++ b/wscript
@@ -244,7 +244,9 @@ def configure (conf):
     check_pkg ('gmodule-2.0')
     check_pkg ('gthread-2.0')
     check_pkg ('gio-2.0', '2.22.0')
-    if check_version (conf.env['GIO_VERSION'], 2, 30, 0):
+    if check_version (conf.env['GIO_VERSION'], 2, 30, 0) \
+        and check_version (conf.env['VALAC_VERSION'], 0, 16, 0):
+        # Older Vala doesn't have GLib 2.30 bindings
         conf.env.append_value ('VALAFLAGS', '-D HAVE_GLIB_2_30')
 
     args = ''


More information about the Xfce4-commits mailing list