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 > +@code{ac_cv_func_vfork} variables. > @end defmac > > @defmac AC_FUNC_FSEEKO > -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature