summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 225714998..98ec95535 100644
--- a/configure.ac
+++ b/configure.ac
@@ -225,7 +225,10 @@ if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no && \
fi
# For src/kill.c.
-AC_CHECK_DECLS([strsignal, strtoimax, sys_siglist, _sys_siglist, __sys_siglist])
+AC_CHECK_DECLS([strtoimax])
+AC_CHECK_DECLS([strsignal, sys_siglist, _sys_siglist, __sys_siglist], , ,
+ [AC_INCLUDES_DEFAULT
+#include <signal.h>])
jm_LIB_CHECK