summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorTed Tuckman <ted.tuckman@mongodb.com>2017-07-18 13:33:10 -0400
committerTed Tuckman <ted.tuckman@mongodb.com>2017-07-20 12:59:09 -0400
commitbfc52fd48fa6fe36761ca2b2bd791ed906b56358 (patch)
treec5ae5f713d8955b9f2aa26f9496e500bd3555079 /SConstruct
parent15b82339a87298147fc60b83ba7b3b61bfbb9c5b (diff)
downloadmongo-bfc52fd48fa6fe36761ca2b2bd791ed906b56358.tar.gz
SERVER-29981 write transport layer to connect c driver to embedded capi
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 1781d5067c2..c56ce5edf87 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2989,6 +2989,13 @@ def doConfigure(myenv):
if conf.CheckExtendedAlignment(size):
conf.env.SetConfigHeaderDefine("MONGO_CONFIG_MAX_EXTENDED_ALIGNMENT", size)
break
+
+ conf.env['MONGO_HAVE_LIBMONGOC'] = conf.CheckLibWithHeader(
+ ["mongoc-1.0"],
+ ["mongoc.h"],
+ "C",
+ "mongoc_get_major_version();",
+ autoadd=False )
# ask each module to configure itself and the build environment.
moduleconfig.configure_modules(mongo_modules, conf)