s4 dns: Import DNS win32 error codes from MS-ERREF
[Samba/gebeck_regimport.git] / lib / socket_wrapper / wscript
blob70474d75133d17464ad8507d76c753cd84cb692b
1 #!/usr/bin/env python
3 import Options
5 def set_options(opt):
6 gr = opt.option_group('developer options')
7 gr.add_option('--enable-socket-wrapper',
8 help=("Turn on socket wrapper library (default=no)"),
9 action="store_true", dest='enable_socket_wrapper', default=False)
11 def configure(conf):
12 if (Options.options.enable_socket_wrapper or Options.options.developer or Options.options.enable_selftest):
13 conf.DEFINE('SOCKET_WRAPPER', 1)
14 conf.ADD_GLOBAL_DEPENDENCY('socket_wrapper')