diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/nss_wrapper/wscript | 11 | ||||
-rw-r--r-- | lib/socket_wrapper/wscript | 11 | ||||
-rw-r--r-- | lib/uid_wrapper/wscript | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/lib/nss_wrapper/wscript b/lib/nss_wrapper/wscript new file mode 100644 index 0000000000..ee95e7bbd9 --- /dev/null +++ b/lib/nss_wrapper/wscript @@ -0,0 +1,11 @@ +import Options + +def set_options(opt): + opt.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: + conf.DEFINE('NSS_WRAPPER', 1) + diff --git a/lib/socket_wrapper/wscript b/lib/socket_wrapper/wscript new file mode 100644 index 0000000000..0534fbcda4 --- /dev/null +++ b/lib/socket_wrapper/wscript @@ -0,0 +1,11 @@ +import Options + +def set_options(opt): + opt.add_option('--enable-socket-wrapper', + help=("Turn on socket wrapper library (default=no)"), + action="store_true", dest='enable_socket_wrapper', default=False) + +def configure(conf): + if Options.options.enable_socket_wrapper or Options.options.developer: + conf.DEFINE('SOCKET_WRAPPER', 1) + diff --git a/lib/uid_wrapper/wscript b/lib/uid_wrapper/wscript new file mode 100644 index 0000000000..2ca2af6648 --- /dev/null +++ b/lib/uid_wrapper/wscript @@ -0,0 +1,11 @@ +import Options + +def set_options(opt): + opt.add_option('--enable-uid-wrapper', + help=("Turn on uid wrapper library (default=no)"), + action="store_true", dest='enable_uid_wrapper', default=False) + +def configure(conf): + if Options.options.enable_uid_wrapper or Options.options.developer: + conf.DEFINE('UID_WRAPPER', 1) + |