[Xfce4-commits] <postler:master> Require Vala 0.10 or git at configuration time
Christian Dywan
noreply at xfce.org
Thu Apr 7 01:36:02 CEST 2011
Updating branch refs/heads/master
to 7d530a7ef71043c24133ad4605f4e55ae4b7974c (commit)
from 30b0c0d2423e26f8183a90cce524047c8816a7fe (commit)
commit 7d530a7ef71043c24133ad4605f4e55ae4b7974c
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Apr 7 01:34:43 2011 +0200
Require Vala 0.10 or git at configuration time
wscript | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/wscript b/wscript
index 55de531..f4b4d13 100644
--- a/wscript
+++ b/wscript
@@ -76,8 +76,11 @@ def configure (conf):
conf.check_tool ('compiler_cc')
conf.check_tool ('vala')
if conf.env['VALAC_VERSION'][1] < 10:
- Utils.pprint ('RED', 'valac >= 0.10.0 required')
- sys.exit (1)
+ Utils.pprint ('RED', 'valac >= 0.10.0 required')
+ sys.exit (1)
+ elif conf.env['VALAC_VERSION'][1] > 10 and not conf.find_program ('vala-0.14'):
+ Utils.pprint ('RED', 'valac 0.10 or git is required')
+ sys.exit (1)
if option_enabled ('nls'):
conf.check_tool ('intltool')
More information about the Xfce4-commits
mailing list