]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
authorAkim Demaille <akim@epita.fr>
Wed, 17 Jul 2002 16:55:48 +0000 (16:55 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 17 Jul 2002 16:55:48 +0000 (16:55 +0000)
ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
latter was not run.

ChangeLog
lib/autoconf/functions.m4

index 5585f194c92bc3f14e313341cb24d22d33c7648f..d3ae1a5f328817fe64255c1f44a194755229782a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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
index c0aec9dff63ca10edcd6e2e84911264794bcbed8..fd47ee56710038a4c30ba5f9aafed0f82cb8fa93 100644 (file)
@@ -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