summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
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):