autoconf
[Top][All Lists]
Advanced

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

Re: [autoconf] AmigaOS fork()


From: Paul Eggert
Subject: Re: [autoconf] AmigaOS fork()
Date: Tue, 12 Jun 2001 17:58:24 -0700 (PDT)

> From: R. Kuhlmann <address@hidden>
> Date: Tue, 12 Jun 2001 17:01:08 +0200
> 
>         #define vfork to fork if necessary.  to vfork if necessary.

There's an echo in that part of the ChangeLog...


In the light of the previous message, it seems to me that the patch
should not alter AC_FUNC_GETPGRP, AC_FUNC_WAIT3, or
AC_SYS_RESTARTABLE_SYSCALLS, as these use test programs that are not
safe when you substitute vfork for fork.


> Otherwise, define @code{vfork} to be @code{fork} for backward compatibility.

Append the phrase "with previous versions of @command{autoconf}" to
this sentence, to make it clear what compatibility is being talked
about.


The proposed documentation of whether to use vfork or fork is lacking,
but perhaps we should let this discussion reach a consensus before fixing it.


> address@hidden
> +AC_LANG_PUSH(Fortran 77)
> +# Perform some tests on Fortran 77.
> +# ...
> +AC_LANG_POP(Fortran 77)
> address@hidden example
> address@hidden defmac
>  
> address@hidden AC_REQUIRE_CPP
> address@hidden REQUIRE_CPP
> +Ensure that whichever preprocessor would currently be used for tests has
> +been found.  Calls @code{AC_REQUIRE} (@pxref{Prerequisite Macros}) with an
> +argument of either @code{AC_PROG_CPP} or @code{AC_PROG_CXXCPP},
> +depending on which language is current.
> address@hidden defmac
> +

This part of the patch is unrelated to the topic.



reply via email to

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