From f379b77735289087674906dee63b2d6275d43cec Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 11 Jan 2010 16:43:10 -0800 Subject: [PATCH] Error out when no compiler found --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index 12244427403..88ce61e6798 100644 --- a/wscript +++ b/wscript @@ -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