diff options
author | Andreas Schneider <asn@samba.org> | 2017-04-07 15:44:22 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-04-10 07:45:24 +0200 |
commit | 686ac6b17124eea6aadd8b067bcac89cd8b9686a (patch) | |
tree | 1d712d685bafc245143ed4baf33d44644ea371c4 /buildtools | |
parent | 56df7cf3d95dd3de9b6e3d581cbc8d3663817b7f (diff) | |
download | samba-686ac6b17124eea6aadd8b067bcac89cd8b9686a.tar.gz |
wafsamba: Add CHECK_CMOCKA function
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_third_party.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_third_party.py b/buildtools/wafsamba/samba_third_party.py index 8cfa4df7214..ac77be74f5a 100644 --- a/buildtools/wafsamba/samba_third_party.py +++ b/buildtools/wafsamba/samba_third_party.py @@ -33,3 +33,9 @@ def CHECK_POPT(conf): return conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h') Build.BuildContext.CHECK_POPT = CHECK_POPT + +@conf +def CHECK_CMOCKA(conf): + return conf.CHECK_BUNDLED_SYSTEM_PKG('cmocka', minversion='1.1.1') + +Build.BuildContext.CHECK_CMOCKA = CHECK_CMOCKA |