On 01/20/11 00:57, Bruno Haible wrote:
> 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.
> 

OK, thanks, I did that with this further change:

--- a/m4/include_next.m4
+++ b/m4/include_next.m4
@@ -147,6 +147,9 @@ choke me
 # Note: This macro assumes that the header file is not empty after
 # preprocessing, i.e. it does not only define preprocessor macros but also
 # provides some type/enum definitions or function/variable declarations.
+#
+# This macro also checks whether each header exists, by invoking
+# AC_CHECK_HEADERS_ONCE or AC_CHECK_HEADERS on each argument.
 AC_DEFUN([gl_CHECK_NEXT_HEADERS],
 [
   gl_NEXT_HEADERS_INTERNAL([$1], [check])

Reply via email to