1 | def set_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)
|
---|
4 |
|
---|
5 | opt.add_option('--with-systemd',
|
---|
6 | help=("Enable systemd integration"),
|
---|
7 | action='store_true', dest='enable_systemd')
|
---|
8 |
|
---|
9 | opt.add_option('--without-systemd',
|
---|
10 | help=("Disable systemd integration"),
|
---|
11 | action='store_false', dest='enable_systemd')
|
---|
12 |
|
---|
13 | opt.add_option('--with-lttng',
|
---|
14 | help=("Enable lttng integration"),
|
---|
15 | action='store_true', dest='enable_lttng')
|
---|
16 |
|
---|
17 | opt.add_option('--without-lttng',
|
---|
18 | help=("Disable lttng integration"),
|
---|
19 | action='store_false', dest='enable_lttng')
|
---|
20 |
|
---|
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/")
|
---|