[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gl_CHECK_NEXT_HEADERS implies AC_CHECK_HEADERS_ONCE
From: |
Paul Eggert |
Subject: |
Re: [PATCH] gl_CHECK_NEXT_HEADERS implies AC_CHECK_HEADERS_ONCE |
Date: |
Fri, 21 Jan 2011 15:49:12 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
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])