summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-03-02 22:49:44 +0000
committerJim Meyering <jim@meyering.net>2004-03-02 22:49:44 +0000
commit84b6c292241be60198dc5117f8ee5423dc26461e (patch)
tree5808f4d12fc2fc69e2794a2b79a8105cb6bf7277
parent4762889c25fc5eecaa11b75270ce27607fe008e3 (diff)
downloadcoreutils-84b6c292241be60198dc5117f8ee5423dc26461e.tar.xz
Include <signal.h> when checking for strsignal,
sys_siglist, and friends. Problem reported by Toney Leneis in <http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00136.html>.
-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