summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-04-07 15:44:05 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-04-10 11:38:13 +0200
commit94b7672d48040a1630a25b0d8a79bd8349b15397 (patch)
treed773203ba07350ce87b577392a6a9e104f71666c /wscript
parent686ac6b17124eea6aadd8b067bcac89cd8b9686a (diff)
downloadsamba-94b7672d48040a1630a25b0d8a79bd8349b15397.tar.gz
third_party: Add cmocka 1.1.1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Apr 10 11:38:13 CEST 2017 on sn-devel-144
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3e4a0cdb6d4..5a82c61472a 100644
--- a/wscript
+++ b/wscript
@@ -143,6 +143,12 @@ def configure(conf):
else:
conf.define('USING_SYSTEM_POPT', 1)
+ if not conf.CHECK_CMOCKA():
+ raise Utils.WafError('cmocka development packages has not been found.\nIf third_party is installed, check that it is in the proper place.')
+ else:
+ conf.define('USING_SYSTEM_CMOCKA', 1)
+
+
conf.RECURSE('lib/ldb')
if not (Options.options.without_ad_dc):