projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e0dad4
)
Error out when no compiler found
author
Ryan Dahl
<ry@tinyclouds.org>
Tue, 12 Jan 2010 00:43:10 +0000
(16:43 -0800)
committer
Ryan Dahl
<ry@tinyclouds.org>
Tue, 12 Jan 2010 00:43:10 +0000
(16:43 -0800)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index 12244427403976f3f797d1200a0aac73a3a6837e..88ce61e679817a1d1296c6a328d6e979bb772ace 100644
(file)
--- 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