summaryrefslogtreecommitdiff
path: root/auth/wscript_configure
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2017-03-06 16:16:51 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-03-29 02:37:27 +0200
commit387eb18a1ccdcea3040476efbc2769de40ccf86e (patch)
tree8ece2624609a73b544bf8189ba0c3bcc3ffc10e8 /auth/wscript_configure
parent366f8cf0903e3583fda42696df62a5337f22131f (diff)
downloadsamba-387eb18a1ccdcea3040476efbc2769de40ccf86e.tar.gz
auth_log: Add JSON logging of Authorisation and Authentications
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Pair-Programmed: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'auth/wscript_configure')
-rw-r--r--auth/wscript_configure7
1 files changed, 7 insertions, 0 deletions
diff --git a/auth/wscript_configure b/auth/wscript_configure
new file mode 100644
index 00000000000..47943fa1e9c
--- /dev/null
+++ b/auth/wscript_configure
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+
+conf.SET_TARGET_TYPE('jansson', 'EMPTY')
+
+if conf.CHECK_CFG(package='jansson', args='--cflags --libs',
+ msg='Checking for jansson'):
+ conf.CHECK_FUNCS_IN('json_object', 'jansson')