autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_FUNC_FORK


From: Akim Demaille
Subject: Re: AC_FUNC_FORK
Date: 17 Jul 2002 18:46:31 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

|Hello!
|If a system has an existing but non working fork() implementation
|then $ac_cv_func_fork_works will be set to "yes" and therefore
|_AC_FUNC_FORK assumes that it has been already tested successfully.
|I suggest the following patch:
|
|----------------------------------
|--- old/autoconf-2.53/lib/autoconf/functions.m4        Mon Mar  4 14:34:20 2002
|+++ gnu/autoconf-2.53/lib/autoconf/functions.m4        Sat Jun 22 16:04:56 2002
|@@ -1387,9 +1387,10 @@
| [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
|----------------------------------
|
|bye,
|Andreas
|
|
Thanks, installed.  Please, next time, send a ChangeLog.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]