0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

don't use static readline on osx

This commit is contained in:
Eliot Horowitz 2009-02-11 23:16:29 -05:00
parent f0476381d3
commit e7f10be927

View File

@ -389,7 +389,11 @@ def doConfigure( myenv , needJava=True , needPcre=True , shell=False ):
myCheckLib( "pcre" , True )
if shell:
if myCheckLib( "readline" ):
haveReadLine = False
if darwin:
myenv.Append( CPPDEFINES=[ "USE_READLINE" ] )
myenv.Append( LIBS=["readline"] )
elif myCheckLib( "readline" ):
myenv.Append( CPPDEFINES=[ "USE_READLINE" ] )
myCheckLib( "tinfo" )
else: