summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/signal.in.h5
-rw-r--r--m4/sigaction.m43
3 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index c4f9c9ae5f..70743d2545 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-23 Bruno Haible <bruno@clisp.org>
+
+ * m4/sigaction.m4: Comment fixes.
+ * lib/signal.in.h: Likewise.
+
2008-06-23 Eric Blake <ebb9@byu.net>
Fix typo.
diff --git a/lib/signal.in.h b/lib/signal.in.h
index a1c9e6f6d3..703437d55f 100644
--- a/lib/signal.in.h
+++ b/lib/signal.in.h
@@ -118,9 +118,8 @@ struct siginfo_t
typedef struct siginfo_t siginfo_t;
# endif /* !@HAVE_SIGINFO_T@ */
- /* Due to autoconf conventions, we can't tell if HAVE_SIGACTION
- means we have the type or means we have the function. We assume
- that all implementations either have both or neither. */
+/* We assume that platforms which lack the sigaction() function also lack
+ the 'struct sigaction' type, and vice versa. */
struct sigaction
{
diff --git a/m4/sigaction.m4 b/m4/sigaction.m4
index e936cb3582..93306b8dcc 100644
--- a/m4/sigaction.m4
+++ b/m4/sigaction.m4
@@ -8,9 +8,6 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_SIGACTION],
[
AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
- dnl Due to autoconf conventions, we can't tell if HAVE_SIGACTION
- dnl means we have the type or means we have the function. We assume
- dnl that all implementations either have both or neither.
AC_REPLACE_FUNCS([sigaction])
if test $ac_cv_func_sigaction = no ; then
HAVE_SIGACTION=0