summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-01-15 13:23:03 +0000
committerRoland McGrath <roland@redhat.com>1995-01-15 13:23:03 +0000
commitd525f4dd724d4d24b3b7ba15e0c4f99e740c4c41 (patch)
tree94f0d52443a97f1f0b0047d072d2c865ade9f098
parentbd19554ea7ceda8db7ae28e4312cc2e24180446a (diff)
downloadgunmake-d525f4dd724d4d24b3b7ba15e0c4f99e740c4c41.tar.gz
(union wait check): If WEXITSTATUS and WTERMSIG are defined, just use int.
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
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 <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. */