summaryrefslogtreecommitdiff
path: root/lib/nss_wrapper/wscript
blob: 2ab72efb05731dc7d3e690373dea314bfbf77e28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python

import Options

def set_options(opt):
	gr = opt.option_group('developer options')
	gr.add_option('--enable-nss-wrapper',
		      help=("Turn on nss wrapper library (default=no)"),
		      action="store_true", dest='enable_nss_wrapper', default=False)

def configure(conf):
    if (Options.options.enable_nss_wrapper or
	Options.options.developer or
	Options.options.enable_selftest):
        conf.DEFINE('NSS_WRAPPER', 1)