Do a simple Vala check without extra logic

Vala is mandatory at build-time. The extra check doesn't
respect VALAC.
This commit is contained in:
Christian Dywan 2011-06-17 11:25:37 +02:00
parent 783bed774a
commit 4761949397

View file

@ -88,13 +88,7 @@ def configure (conf):
return dirvalue return dirvalue
conf.check_tool ('compiler_cc') conf.check_tool ('compiler_cc')
if find_program_impl (conf.env, 'valac'): conf.check_tool ('vala')
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')
if option_enabled ('nls'): if option_enabled ('nls'):
conf.check_tool ('intltool') conf.check_tool ('intltool')