check exit status of forked process
add fork() to AC_CHECK_FUNCS