Rüdiger Kuhlmann writes:
> Okay, what about this: It doesn't #define fork anymore, but HAVE_FORK if it
> works. Then the program has to check this itself.
>
> 2001-05-24 Rüdiger Kuhlmann <[EMAIL PROTECTED]>
>
> * acfunctions.m4: (AC_FUNC_FORK) New, check whether fork() isn't just
> a stub and define HAVE_FUNC if it works.
> (AC_FUNC_GETPGRP, AC_FUNC_WAIT3) Use AC_FUNC_FORK and #define fork
> to vfork if necessary.
> (AC_FUN_VFORK) Similarly define HAVE_VFORK.
> * acspecific.m4: (AC_SYS_RESTARTABLE_SYSCALLS) dito.
> * acfunctions: add HAVE_FORK.
The key question here is, if a program requires fork(), would it normally
work with Amiga's vfork()? My guess is no, so this patch would not be
correct.
--
Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter