From: Ryan Dahl Date: Tue, 12 Jan 2010 00:43:10 +0000 (-0800) Subject: Error out when no compiler found X-Git-Tag: v0.1.26~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f379b77735289087674906dee63b2d6275d43cec;p=platform%2Fupstream%2Fnodejs.git Error out when no compiler found --- diff --git a/wscript b/wscript index 1224442..88ce61e 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