Remove redundant test for unistd.h.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Oct 2008 20:07:52 +0000 (22:07 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Oct 2008 20:07:52 +0000 (22:07 +0200)
ChangeLog
m4/wait-process.m4

index 23ede0f..7d83216 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-10-19  Bruno Haible  <bruno@clisp.org>
 
+       * m4/wait-process.m4 (gl_WAIT_PROCESS): Remove test for unistd.h.
+
+2008-10-19  Bruno Haible  <bruno@clisp.org>
+
        Assume that waitpid() fills an 'int' status, not a 'union wait'.
        * lib/wait-process.c (WAIT_T): Remove type.
        (WTERMSIG, WCOREDUMP, WEXITSTATUS): Define fallbacks using bit masks.
index 8dd6336..8636cba 100644 (file)
@@ -1,13 +1,11 @@
-# wait-process.m4 serial 2
-dnl Copyright (C) 2003 Free Software Foundation, Inc.
+# wait-process.m4 serial 3
+dnl Copyright (C) 2003, 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 with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_WAIT_PROCESS],
 [
-  dnl Prerequisites of lib/wait-process.h.
-  AC_CHECK_HEADERS_ONCE(unistd.h)
   dnl Prerequisites of lib/wait-process.c.
   AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T])
   AC_CHECK_FUNCS(waitid)