+2008-06-23 Bruno Haible <bruno@clisp.org>
+
+ * m4/signalblocking.m4 (gl_PREREQ_SIG_HANDLER_H): Remove macro.
+ (gl_PREREQ_SIGPROCMASK): Don't invoke it.
+ * m4/sigaction.m4 (gl_PREREQ_SIG_HANDLER_H): New macro, moved here from
+ m4/signalblocking.m4.
+ (gl_PREREQ_SIGACTION): Don't invoke it.
+ * m4/nanosleep.m4 (gl_PREREQ_NANOSLEEP): Invoke
+ gl_PREREQ_SIG_HANDLER_H.
+ * m4/fatal-signal.m4 (gl_FATAL_SIGNAL): Likewise.
+ Don't check for sigaction here.
+
2008-06-23 Bruno Haible <bruno@clisp.org>
* lib/fatal-signal.c (fatal_signal_handler): Update comment.
-# fatal-signal.m4 serial 5
+# fatal-signal.m4 serial 6
dnl Copyright (C) 2003-2004, 2006, 2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[
AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T])
AC_CHECK_HEADERS_ONCE(unistd.h)
- AC_CHECK_FUNCS(sigaction)
+ gl_PREREQ_SIG_HANDLER_H
])
-#serial 24
+#serial 25
dnl From Jim Meyering.
dnl Check for the nanosleep function.
AC_DEFUN([gl_PREREQ_NANOSLEEP],
[
AC_CHECK_HEADERS_ONCE(sys/select.h)
+ gl_PREREQ_SIG_HANDLER_H
])
-# sigaction.m4 serial 2
+# sigaction.m4 serial 3
dnl Copyright (C) 2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
HAVE_SIGINFO_T=0
AC_SUBST([HAVE_SIGINFO_T])
fi
- gl_PREREQ_SIG_HANDLER_H
+])
+
+# Prerequisites of lib/sig-handler.h.
+AC_DEFUN([gl_PREREQ_SIG_HANDLER_H],
+[
+ AC_REQUIRE([AC_C_INLINE])
+ :
])
-# signalblocking.m4 serial 8
+# signalblocking.m4 serial 9
dnl Copyright (C) 2001-2002, 2006-2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl HAVE_SIGSET_T is 1 if the system lacks the sigprocmask function but has
dnl the sigset_t type.
AC_SUBST([HAVE_SIGSET_T])
- gl_PREREQ_SIG_HANDLER_H
-])
-
-# Prerequisites of lib/sig-handler.h.
-AC_DEFUN([gl_PREREQ_SIG_HANDLER_H],
-[
- AC_REQUIRE([AC_C_INLINE])
- :
])