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 '
16 'when building the AD DC')