lib/util/wscript: update to handle waf 2.0.4
[Samba.git] / lib / util / wscript
blobd61b11e9e3736941560b846309e76e6fcd2e2725
1 def options(opt):
2     ''' This is a bit strange, but disable is the flag, not enable. '''
3     opt.add_option('--disable-fault-handling', action='store_true', dest='disable_fault_handling', help=('disable the fault handlers'), default=False)
5     opt.add_option('--with-systemd',
6                    help=("Enable systemd integration"),
7                    action='store_true', dest='enable_systemd')
9     opt.add_option('--without-systemd',
10                    help=("Disable systemd integration"),
11                    action='store_false', dest='enable_systemd')
13     opt.add_option('--with-lttng',
14                    help=("Enable lttng integration"),
15                    action='store_true', dest='enable_lttng')
17     opt.add_option('--without-lttng',
18                    help=("Disable lttng integration"),
19                    action='store_false', dest='enable_lttng')
21     opt.add_option('--with-gpfs',
22                    help=("Directory under which gpfs headers are installed"),
23                    action="store", dest='gpfs_headers_dir', default="/usr/lpp/mmfs/include/")