mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
c41ec2a975
Update the logic for finding the gpfs.h header file: Look for the header file in the default location under /usr/lpp/mmfs/include. If it is not available there, default to the file in third_party/gpfs/ on Linux (AIX could be added if there is demand). The configure option --with-gpfs=GPFS_HEADERS_DIR can always be used to overwrite the default behavior with a specific location. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Jan 18 17:21:02 CET 2019 on sn-devel-144
24 lines
1.0 KiB
Python
24 lines
1.0 KiB
Python
def options(opt):
|
|
''' This is a bit strange, but disable is the flag, not enable. '''
|
|
opt.add_option('--disable-fault-handling', action='store_true', dest='disable_fault_handling', help=('disable the fault handlers'), default=False)
|
|
|
|
opt.add_option('--with-systemd',
|
|
help=("Enable systemd integration"),
|
|
action='store_true', dest='enable_systemd')
|
|
|
|
opt.add_option('--without-systemd',
|
|
help=("Disable systemd integration"),
|
|
action='store_false', dest='enable_systemd')
|
|
|
|
opt.add_option('--with-lttng',
|
|
help=("Enable lttng integration"),
|
|
action='store_true', dest='enable_lttng')
|
|
|
|
opt.add_option('--without-lttng',
|
|
help=("Disable lttng integration"),
|
|
action='store_false', dest='enable_lttng')
|
|
|
|
opt.add_option('--with-gpfs',
|
|
help=("Directory under which gpfs headers are installed"),
|
|
action="store", dest='gpfs_headers_dir')
|