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 # We do not want libunwind by default (backtrace_symbols() in
6 # glibc is better) but allow (eg) IA-64 to build with it where it
7 # might be better (per old comment in fault.c)
8 opt.samba_add_onoff_option('libunwind',
10 help='''Use libunwind instead of the default backtrace_symbols()
11 from libc, for example on IA-64 where it might give a better
14 opt.add_option('--with-systemd',
15 help=("Enable systemd integration"),
16 action='store_true', dest='enable_systemd')
18 opt.add_option('--without-systemd',
19 help=("Disable systemd integration"),
20 action='store_false', dest='enable_systemd')
22 opt.add_option('--with-lttng',
23 help=("Enable lttng integration"),
24 action='store_true', dest='enable_lttng')
26 opt.add_option('--without-lttng',
27 help=("Disable lttng integration"),
28 action='store_false', dest='enable_lttng')
30 opt.add_option('--with-gpfs',
31 help=("Directory under which gpfs headers are installed"),
32 action="store", dest='gpfs_headers_dir')