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:
parent
783bed774a
commit
4761949397
1 changed files with 1 additions and 7 deletions
8
wscript
8
wscript
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue