With argparse we need to specify a default for in order to correctly
handle conflicting values for with/without-json
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
# enable options related to building python extensions
opt.add_option('--with-json',
- action='store_true', dest='with_json',
+ action='store_true', dest='with_json', default=True,
help=("Build with JSON support (default=True). This "
"requires the jansson development headers."))
opt.add_option('--without-json',