From: Akim Demaille Date: Wed, 17 Jul 2002 16:55:48 +0000 (+0000) Subject: * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set X-Git-Tag: AUTOCONF-2.53b~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6653b31ca484351f5877a69bdd8b4e260a118aa4;p=thirdparty%2Fautoconf.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 5585f194c..d3ae1a5f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-07-17 Andreas Buening + + * 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 * lib/Autom4te/General.pm (find_file): Browse the directories in diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index c0aec9dff..fd47ee567 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -1522,9 +1522,10 @@ AC_DEFUN([AC_FUNC_FORK], [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