(union wait check): If WEXITSTATUS and WTERMSIG are defined, just use int.
authorRoland McGrath <roland@redhat.com>
Sun, 15 Jan 1995 13:23:03 +0000 (13:23 +0000)
committerRoland McGrath <roland@redhat.com>
Sun, 15 Jan 1995 13:23:03 +0000 (13:23 +0000)
configure.in

index 857873963eb858eec1f6ec8e5fdc249ed72a4ebe..1a58c0b2ffafa9169f497436017ce17d9c680ba2 100644 (file)
@@ -66,6 +66,10 @@ AC_TRY_LINK([#include <sys/types.h>
    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.  */