autoconf
[Top][All Lists]
Advanced

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

Re: [autoconf] AmigaOS fork()


From: Peter Eisentraut
Subject: Re: [autoconf] AmigaOS fork()
Date: Thu, 24 May 2001 18:07:10 +0200 (CEST)

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 <address@hidden>
>
>       * 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   address@hidden   http://funkturm.homeip.net/~peter





reply via email to

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