changeset 10675:9ddeba4641d7

Remove redundant test for unistd.h.
author Bruno Haible <bruno@clisp.org>
date Sun, 19 Oct 2008 22:07:52 +0200
parents fbb2ccfb180d
children ada5a6cc2034
files ChangeLog m4/wait-process.m4
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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'.
--- a/m4/wait-process.m4
+++ b/m4/wait-process.m4
@@ -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)