From 6c27f28918d3ce85202e0dd476741a064b1f56e6 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 19 Oct 2008 22:07:52 +0200 Subject: [PATCH] Remove redundant test for unistd.h. --- ChangeLog | 4 ++++ m4/wait-process.m4 | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 23ede0f2f..7d832166a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-10-19 Bruno Haible + * m4/wait-process.m4 (gl_WAIT_PROCESS): Remove test for unistd.h. + +2008-10-19 Bruno Haible + 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. diff --git a/m4/wait-process.m4 b/m4/wait-process.m4 index 8dd633664..8636cba5e 100644 --- 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) -- 2.11.0