On 11/30/20 12:53 PM, Zack Weinberg wrote:
We could expand the "for compatibility's sake" to set the cache
variables ac_cv_header_{stdlib,string}_h (without actually bothering
to check) but I'm not sure that's a good idea -- that would prevent
people with a genuine need to maintain compatibility with K&R
environments from doing AC_CHECK_HEADER([stdlib.h]) themselves.  What
do you think, Paul?

Thanks for the investigation. I wouldn't bother changing the code. Might not hurt to add something like the following to the NEWS item.

"However, cache variables like ac_cv_header_stdlib_h are not set by default; if you need them, you can use calls like AC_CHECK_HEADER([stdlib.h])."

Reply via email to