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?
2010-12-19 Colin Watson <[email protected]> * doc/autoconf.texi (Particular Functions): Document AC_FUNC_FORK cache variables. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 5fbfb79..1c29f0d 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -4986,6 +4986,9 @@ yourself in new code: #endif @end group @end example + +The results of this macro are cached in the @code{ac_cv_func_fork_works} and +...@code{ac_cv_func_vfork_works} variables. @end defmac @defmac AC_FUNC_FSEEKO Thanks, -- Colin Watson [[email protected]]
