summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-05-28 13:19:02 -0400
committerEliot Horowitz <eliot@10gen.com>2009-05-28 13:19:02 -0400
commitc1f913b0509416013f034a2c873d4ae721ae4539 (patch)
treee318e85d51d74ca89862310d4d1d24495d7c976c
parent160e13e2e3743814d1b8984fc7441a49b575e82e (diff)
downloadmongo-c1f913b0509416013f034a2c873d4ae721ae4539.tar.gz
fix for old version of scons MINOR
-rw-r--r--SConstruct7
1 files changed, 4 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 9224696fc81..3e2f2b592c7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -475,9 +475,10 @@ def doConfigure( myenv , needJava=True , needPcre=True , shell=False ):
myenv["LINKFLAGS_CLEAN"] = list( myenv["LINKFLAGS"] )
myenv["LIBS_CLEAN"] = list( myenv["LIBS"] )
- if not conf.CheckCXX():
- print( "c++ compiled not installed!" )
- Exit(1)
+ if 'CheckCXX' in dir( conf ):
+ if not conf.CheckCXX():
+ print( "c++ compiled not installed!" )
+ Exit(1)
if nix and not shell:
if not conf.CheckLib( "stdc++" ):