ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
latter was not run.
+2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
+
+ * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
+ ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
+ latter was not run.
+
2002-07-17 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (find_file): Browse the directories in
[AC_REQUIRE([AC_TYPE_PID_T])dnl
AC_CHECK_HEADERS(unistd.h vfork.h)
AC_CHECK_FUNCS(fork vfork)
-ac_cv_func_fork_works=$ac_cv_func_fork
if test "x$ac_cv_func_fork" = xyes; then
_AC_FUNC_FORK
+else
+ ac_cv_func_fork_works=$ac_cv_func_fork
fi
if test "x$ac_cv_func_fork_works" = xcross; then
case $host in