From 0813c481afb6f6d8f9736df84351e237ef31ee5f Mon Sep 17 00:00:00 2001 From: dwight Date: Mon, 15 Nov 2010 14:22:00 -0500 Subject: [PATCH] scons dur --- SConstruct | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/SConstruct b/SConstruct index f09fed0a594..065485b2ec3 100644 --- a/SConstruct +++ b/SConstruct @@ -126,12 +126,12 @@ AddOption( "--dd", action="store", help="debug build no optimization, additional debug logging, etc..." ) -AddOption( "--recstore", - dest="recstore", +AddOption( "--durable", + dest="durable", type="string", nargs=0, action="store", - help="use new recstore" ) + help="durability build" ) AddOption( "--noshell", dest="noshell", @@ -330,8 +330,9 @@ if GetOption( "libpath" ) is not None: if GetOption( "cpppath" ) is not None: env["CPPPATH"] = [GetOption( "cpppath" )] -if GetOption( "recstore" ) != None: - env.Append( CPPDEFINES=[ "_RECSTORE" ] ) +if GetOption( "durable" ) != None: + env.Append( CPPDEFINES=[ "_DURABLE" ] ) + env.Append( CPPDEFINES=[ "_SCONS" , "MONGO_EXPOSE_MACROS" ] ) env.Append( CPPPATH=[ "." ] )