fsync test: Avoid test failure on MacOS X and AIX.
[pspp] / modules / waitpid
index f8fbf0f7618d71e144e409da7fa0405324750d09..59e0375bbc2ea625d47c15f07f4280b33f22300b 100644 (file)
@@ -10,6 +10,10 @@ sys_wait
 
 configure.ac:
 gl_FUNC_WAITPID
+if test $HAVE_WAITPID = 0; then
+  AC_LIBOBJ([waitpid])
+fi
+gl_SYS_WAIT_MODULE_INDICATOR([waitpid])
 
 Makefile.am: