diff options
author | Roland McGrath <roland@redhat.com> | 1993-02-05 20:24:00 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-02-05 20:24:00 +0000 |
commit | d870f4df8c7ed0099a737958db0bcfd859abb339 (patch) | |
tree | 4dbd19d72a7538814d04c3b1974f89f8c2668fa3 /configure.in | |
parent | 309a65a7902d33072411fd18b7700f8030aacebb (diff) | |
download | gunmake-d870f4df8c7ed0099a737958db0bcfd859abb339.tar.gz |
Formerly configure.in.~16~
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index aa2997d..5d79c2c 100644 --- a/configure.in +++ b/configure.in @@ -47,6 +47,10 @@ AC_COMPILE_CHECK(union wait, [#include <sys/types.h> conflicts with WEXITSTATUS et al, we don't want to use it at all. */ if (WEXITSTATUS (status) != 0) pid = -1; #endif +#ifdef HAVE_WAITPID +/* Make sure union wait works with waitpid. */ +pid = waitpid (-1, &status, 0); +#endif ], AC_DEFINE(HAVE_UNION_WAIT)) |