From d525f4dd724d4d24b3b7ba15e0c4f99e740c4c41 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 15 Jan 1995 13:23:03 +0000 Subject: (union wait check): If WEXITSTATUS and WTERMSIG are defined, just use int. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 8578739..1a58c0b 100644 --- a/configure.in +++ b/configure.in @@ -66,6 +66,10 @@ AC_TRY_LINK([#include union wait type, and they do not work together. If union wait conflicts with WEXITSTATUS et al, we don't want to use it at all. */ if (WEXITSTATUS (status) != 0) pid = -1; +#ifdef WTERMSIG +/* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */ +-- blow chunks here -- +#endif #endif #ifdef HAVE_WAITPID /* Make sure union wait works with waitpid. */ -- cgit v1.2.3