diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:00 +0000 |
commit | 8daa83a594a2e98f39d764422bfbdbc62c9efd44 (patch) | |
tree | 4099e8021376c7d8c05bdf8503093d80e9c7bad0 /lib/util/wscript | |
parent | Initial commit. (diff) | |
download | samba-8daa83a594a2e98f39d764422bfbdbc62c9efd44.tar.xz samba-8daa83a594a2e98f39d764422bfbdbc62c9efd44.zip |
Adding upstream version 2:4.20.0+dfsg.upstream/2%4.20.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/util/wscript')
-rw-r--r-- | lib/util/wscript | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/util/wscript b/lib/util/wscript new file mode 100644 index 0000000..425f659 --- /dev/null +++ b/lib/util/wscript @@ -0,0 +1,32 @@ +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) + + # We do not want libunwind by default (backtrace_symbols() in + # glibc is better) but allow (eg) IA-64 to build with it where it + # might be better (per old comment in fault.c) + opt.samba_add_onoff_option('libunwind', + default=None, + help='''Use libunwind instead of the default backtrace_symbols() + from libc, for example on IA-64 where it might give a better + backtrace.''') + + 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') |