summaryrefslogtreecommitdiff
path: root/lib/util/wscript
AgeCommit message (Collapse)AuthorFilesLines
2026-02-20build: Move jansson detection and related options to lib/utilMartin Schwenke1-0/+17
This means that standalone builds (e.g. CTDB) can use it. The check for without JSON but with AD DC stays in the top-level wscript. Signed-off-by: Martin Schwenke <mschwenke@ddn.com> Reviewed-by: Anoop C S <anoopcs@samba.org>
2022-06-09lib/util: Prefer backtrace_symbols() for internal backtracesAndrew Bartlett1-0/+9
Backtraces when Samba is in PANIC state are better with backtrace_symbols() than with libunwind on Ubuntu 20.04 x86_64 so move libunwind to a off-by-default option, prompted for if backtrace_symbols() is not available. Based on a request by Fco Javier Felix <ffelix@inode64.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2019-01-18lib: Use gpfs.h from third_party on LinuxChristof Schmitt1-1/+1
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
2018-09-05lib/util/wscript: update to handle waf 2.0.4Alexander Bokovoy1-1/+1
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-07-29configure: add --with-gpfs option for selecting directory with gpfs headersBjörn Baumbach1-0/+4
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
2015-03-23debug: Add lttng backendChristof Schmitt1-0/+8
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2015-03-23build: Move systemd checks to lib/utilChristof Schmitt1-0/+8
Only lib/util uses the systemd library, so it makes sense to have the checks there. This also removes the need for the ctdb build script to specify an empty tag for the systemd library. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2012-03-15util: Add --disable-fault-handling.Ira Cooper1-0/+3
On some platforms you can not debug coredumps after the default signal handler gets done dumping core. This allows waf to have an option to disable our default signal handler.