wscript: stop checking for dbus/sigsegv.c dependencies

jackdbus related code was moved to jackdbus repo.
https://github.com/nedko/siginfo is replacement for dbus/sigsegv.c
This commit is contained in:
Nedko Arnaudov 2023-07-26 02:27:19 +03:00
parent d2e428e185
commit 2645af58ad
1 changed files with 0 additions and 21 deletions

21
wscript
View File

@ -385,29 +385,8 @@ def configure(conf):
define_name='HAVE_PPOLL',
mandatory=False)
# Check for backtrace support
conf.check(
header_name='execinfo.h',
define_name='HAVE_EXECINFO_H',
mandatory=False)
conf.recurse('common')
# test for the availability of ucontext, and how it should be used
for t in ['gp_regs', 'uc_regs', 'mc_gregs', 'gregs']:
fragment = '#include <ucontext.h>\n'
fragment += 'int main() { ucontext_t *ucontext; return (int) ucontext->uc_mcontext.%s[0]; }' % t
confvar = 'HAVE_UCONTEXT_%s' % t.upper()
conf.check_cc(fragment=fragment, define_name=confvar, mandatory=False,
msg='Checking for ucontext->uc_mcontext.%s' % t)
if conf.is_defined(confvar):
conf.define('HAVE_UCONTEXT', 1)
fragment = '#include <ucontext.h>\n'
fragment += 'int main() { return NGREG; }'
conf.check_cc(fragment=fragment, define_name='HAVE_NGREG', mandatory=False,
msg='Checking for NGREG')
conf.env['LIB_PTHREAD'] = ['pthread']
conf.env['LIB_DL'] = ['dl']
conf.env['LIB_RT'] = ['rt']