summaryrefslogtreecommitdiff
path: root/lib/socket_wrapper/wscript
blob: edd7af69f4ac5f369a89c7b91fcff5da7450d4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)
	conf.ADD_GLOBAL_DEPENDENCY('SOCKET_WRAPPER')