Hi Paul, > Here's a proposed patch to simplify gnulib's .m4 files slightly. > It doesn't affect behavior; it's just a minor refactoring.
So far these .m4 files use AC_CHECK_HEADERS_ONCE explicitly because the fact that gl_CHECK_NEXT_HEADERS invokes AC_CHECK_HEADERS_ONCE is an undocumented implementation detail. I agree with your patch only if you add comments in m4/include_next.m4 in the description of gl_CHECK_NEXT_HEADERS that make it clear that gl_CHECK_NEXT_HEADERS invokes AC_CHECK_HEADERS or AC_CHECK_HEADERS_ONCE. Bruno
