mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-26 14:00:55 +00:00
Formerly configure.in.~16~
This commit is contained in:
parent
309a65a790
commit
d870f4df8c
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue