[Xfce4-commits] <midori:master> Do a simple Vala check without extra logic

Christian Dywan noreply at xfce.org
Fri Jun 17 11:28:02 CEST 2011


Updating branch refs/heads/master
         to 4761949397aec68d4b0c647d8f45a85762ba1bd3 (commit)
       from 783bed774a49483a0c305ae873665126414de13c (commit)

commit 4761949397aec68d4b0c647d8f45a85762ba1bd3
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Jun 17 11:25:37 2011 +0200

    Do a simple Vala check without extra logic
    
    Vala is mandatory at build-time. The extra check doesn't
    respect VALAC.

 wscript |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/wscript b/wscript
index 1cfe216..518c009 100644
--- a/wscript
+++ b/wscript
@@ -88,13 +88,7 @@ def configure (conf):
         return dirvalue
 
     conf.check_tool ('compiler_cc')
-    if find_program_impl (conf.env, 'valac'):
-        conf.check_tool ('vala')
-    else:
-        conf.check_message ('program', 'valac', False, False)
-        Utils.pprint ('RED', 'Vala is requird to build Midori.')
-        sys.exit (1)
-    conf.check_tool ('glib2')
+    conf.check_tool ('vala')
 
     if option_enabled ('nls'):
         conf.check_tool ('intltool')



More information about the Xfce4-commits mailing list