summaryrefslogtreecommitdiff
path: root/m4/wait-process.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-11-03 20:47:02 +0000
committerBruno Haible <bruno@clisp.org>2003-11-03 20:47:02 +0000
commit426c2287c6a67def5dfad71e79c08486fac15275 (patch)
tree5ac5327e6e9bb7054988f463dbd5adcc6c720511 /m4/wait-process.m4
parent99161421b9a60e044044436ca2e0df0936c9e44f (diff)
downloadgnulib-426c2287c6a67def5dfad71e79c08486fac15275.tar.gz
Use waitid if possible.
Diffstat (limited to 'm4/wait-process.m4')
-rw-r--r--m4/wait-process.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/wait-process.m4 b/m4/wait-process.m4
index 963d401857..7a18b23b36 100644
--- a/m4/wait-process.m4
+++ b/m4/wait-process.m4
@@ -1,4 +1,4 @@
-# wait-process.m4 serial 1
+# wait-process.m4 serial 2
dnl Copyright (C) 2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -12,4 +12,5 @@ AC_DEFUN([gl_WAIT_PROCESS],
AC_CHECK_HEADERS_ONCE(unistd.h)
dnl Prerequisites of lib/wait-process.c.
AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T])
+ AC_CHECK_FUNCS(waitid)
])