summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-12-31 12:09:59 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-12-31 12:09:59 (GMT)
commit3625bf9f94aad738b6d44da4b8f70c60cd167647 (patch)
tree9b32044e0704904b1c88c8a11044ce6205ca6d9a /SConstruct
parent8aed9641dd20a3375f8a443189c7ca6243cf9fc6 (diff)
downloadswift-3625bf9f94aad738b6d44da4b8f70c60cd167647.zip
swift-3625bf9f94aad738b6d44da4b8f70c60cd167647.tar.bz2
Fix building on OS X using default Qt installation.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 3 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 28bd4a9..7024239 100644
--- a/SConstruct
+++ b/SConstruct
@@ -184,8 +184,9 @@ if ARGUMENTS.get("force-configure", 0) :
conf = Configure(conf_env)
-conf.CheckCXX()
-conf.CheckCC()
+if not conf.CheckCXX() or not conf.CheckCC() :
+ print "Error: You need a working compiler"
+ Exit(1)
if conf.CheckLib("z") :
env.Append(LIBS = "z")