summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2016-08-08 11:51:13 -0400
committerSpencer Jackson <spencer.jackson@mongodb.com>2016-08-11 18:58:27 -0400
commit045a53f469fbede582cdbbd8ba532244d86d488e (patch)
tree0bd383c589f0c3344b50be5e86e819404a32dfd4 /SConstruct
parent844007a979a51a1c7dd49c874f0c50cb66482360 (diff)
downloadmongo-045a53f469fbede582cdbbd8ba532244d86d488e.tar.gz
SERVER-22826 Support X509 Authorization
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index a28ee9de554..711e2ed8874 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2619,6 +2619,13 @@ def doConfigure(myenv):
"""):
conf.env.SetConfigHeaderDefine('MONGO_CONFIG_HAVE_FIPS_MODE_SET')
+ if conf.CheckDeclaration(
+ "d2i_ASN1_SEQUENCE_ANY",
+ includes="""
+ #include <openssl/asn1.h>
+ """):
+ conf.env.SetConfigHeaderDefine('MONGO_CONFIG_HAVE_ASN1_ANY_DEFINITIONS')
+
else:
env.Append( MONGO_CRYPTO=["tom"] )