[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Document AC_FUNC_FORK cache variables
From: |
Eric Blake |
Subject: |
Re: [PATCH] Document AC_FUNC_FORK cache variables |
Date: |
Fri, 04 Mar 2011 13:58:55 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 03/04/2011 01:56 PM, Ralf Wildenhues wrote:
> Hello Eric,
>
> in
> http://thread.gmane.org/gmane.comp.sysutils.autoconf.patches/7500/focus=7501
> I asked the following:
>
> * Ralf Wildenhues wrote on Mon, Dec 20, 2010 at 07:57:11AM CET:
>> * Colin Watson wrote on Mon, Dec 20, 2010 at 12:33:46AM CET:
>>> I maintain a package where I'd like to fail at configure time if fork
>>> doesn't work. This is slightly awkward because 'info autoconf' doesn't
>>> document the cache variables for AC_FUNC_FORK, so I don't know whether I
>>> can rely on them in future versions of Autoconf. Would you be willing
>>> to document them as follows and thereby promise that they will continue
>>> to work?
>>
> My preference would be to drop my proposed patch (see link above)
> and instead push the following in Colin's name, and add him to THANKS.
>
> Any issues with that?
>
> Thanks,
> Ralf
>
> 2011-03-04 Colin Watson <...> (tiny change)
> Ralf Wildenhues <...>
>
> * doc/autoconf.texi (Particular Functions): Document AC_FUNC_FORK
> cache variables.
> * THANKS: Update.
This works for me; Colin, are you okay with the patch being in your name?
> +The results of this macro are cached in the @code{ac_cv_func_fork_works}
> +and @code{ac_cv_func_vfork_works} variables. In order to override the
> +test, you also need to set the @code{ac_cv_func_fork} and
> address@hidden variables.
> @end defmac
>
> @defmac AC_FUNC_FSEEKO
>
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature