s3-smbd: Check return code of SMB_VFS_{L}STAT.
[Samba/wip.git] / lib / socket_wrapper / wscript
blob9da578fb633851ada76117a4bd2bf60531093b19
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')