Formerly configure.in.~16~
authorRoland McGrath <roland@redhat.com>
Fri, 5 Feb 1993 20:24:00 +0000 (20:24 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 5 Feb 1993 20:24:00 +0000 (20:24 +0000)
configure.in

index aa2997d889244211ee4f60d132076e969a780b3b..5d79c2ca3f12ee1ff59fa949b575fa8c85b54ff9 100644 (file)
@@ -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))