]> spindle.queued.net Git - midori/commitdiff
Do a simple Vala check without extra logic
authorChristian Dywan <christian@twotoasts.de>
Fri, 17 Jun 2011 09:25:37 +0000 (11:25 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 17 Jun 2011 09:26:47 +0000 (11:26 +0200)
Vala is mandatory at build-time. The extra check doesn't
respect VALAC.

wscript

diff --git a/wscript b/wscript
index 1cfe216c5e8fcc4dfe7c1f77ae01e69f6fe477bb..518c0092b9753d5a7b2813e1583479c1b681dfdf 100644 (file)
--- 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')