From: Richard Russon Date: Thu, 26 Oct 2017 16:06:34 +0000 (+0100) Subject: autosetup: check for sys_siglist[] X-Git-Tag: neomutt-20171027~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6fb2cf1f0a0b82a15011a8a8719294d1c7300af;p=neomutt autosetup: check for sys_siglist[] --- diff --git a/auto.def b/auto.def index 9609f174b..46526dd14 100644 --- a/auto.def +++ b/auto.def @@ -238,10 +238,17 @@ if {1} { define OFF_T_FMT {"%" PRId32} } define LOFF_T off_t +} +############################################################################### + +############################################################################### +# signal-related checks +# Let's always use volatile for sig_atomic_t +cc-check-includes signal.h +define SIG_ATOMIC_VOLATILE_T "volatile sig_atomic_t" - # Let's always use volatile for sig_atomic_t - cc-check-includes signal.h - define SIG_ATOMIC_VOLATILE_T "volatile sig_atomic_t" +cc-with {-includes "signal.h unistd.h"} { + cc-check-decls sys_siglist } ###############################################################################