Error out when no compiler found

pull/22966/head
Ryan Dahl 2010-01-11 16:43:10 -08:00
parent 8e0dad4a27
commit f379b77735
1 changed files with 2 additions and 0 deletions

View File

@ -101,7 +101,9 @@ def conf_subproject (conf, subdir, command=None):
def configure(conf):
conf.check_tool('compiler_cxx')
if not conf.env.CXX: conf.fatal('c++ compiler not found')
conf.check_tool('compiler_cc')
if not conf.env.CC: conf.fatal('c compiler not found')
conf.env["USE_DEBUG"] = Options.options.debug