tests/dsdb.py: verify that foreignSecurityPrincipal objects require the provision...
[Samba.git] / auth / wscript_configure
blob9d930bab61c057042ffaff1a0881b96c41fd009c
1 #!/usr/bin/env python
3 import Options, Utils
5 conf.SET_TARGET_TYPE('jansson', 'EMPTY')
7 if conf.CHECK_CFG(package='jansson', args='--cflags --libs',
8 msg='Checking for jansson'):
9 conf.CHECK_FUNCS_IN('json_object', 'jansson')
11 if not conf.CONFIG_GET('HAVE_JSON_OBJECT') and \
12 conf.CONFIG_GET('ENABLE_SELFTEST') and \
13 (not Options.options.without_ad_dc):
14 raise Utils.WafError('jansson JSON library required for '
15 '--enable-selftest '
16 'when building the AD DC')