diff options
author | Ted Tuckman <ted.tuckman@mongodb.com> | 2017-07-18 13:33:10 -0400 |
---|---|---|
committer | Ted Tuckman <ted.tuckman@mongodb.com> | 2017-07-20 12:59:09 -0400 |
commit | bfc52fd48fa6fe36761ca2b2bd791ed906b56358 (patch) | |
tree | c5ae5f713d8955b9f2aa26f9496e500bd3555079 /SConstruct | |
parent | 15b82339a87298147fc60b83ba7b3b61bfbb9c5b (diff) | |
download | mongo-bfc52fd48fa6fe36761ca2b2bd791ed906b56358.tar.gz |
SERVER-29981 write transport layer to connect c driver to embedded capi
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
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) |