From c2f52a8630ea65ae854b9f1094a0b485c144019a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 23 Nov 2009 01:03:24 +0100 Subject: [PATCH] Add comments. --- ChangeLog | 9 +++++++++ m4/dirent_h.m4 | 4 +++- m4/iconv_h.m4 | 7 +++++-- m4/spawn_h.m4 | 6 ++++-- m4/wchar.m4 | 4 +++- 5 files changed, 24 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index d7d96f783..637578a55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2009-11-22 Bruno Haible + Add comments. + * m4/dirent_h.m4 (gl_DIRENT_H): Add comment about gl_CHECK_NEXT_HEADERS + invocation. + * m4/iconv_h.m4 (gl_ICONV_H): Likewise. + * m4/spawn_h.m4 (gl_SPAWN_H): Likewise. + * m4/wchar.m4 (gl_WCHAR_H): Likewise. + +2009-11-22 Bruno Haible + error: account for the possibility of freopen (stdout). * lib/error.c: Include . (flush_stdout): New function, extracted from error and error_at_line. diff --git a/m4/dirent_h.m4 b/m4/dirent_h.m4 index a9964e231..481212bb3 100644 --- a/m4/dirent_h.m4 +++ b/m4/dirent_h.m4 @@ -1,4 +1,4 @@ -# dirent_h.m4 serial 6 +# dirent_h.m4 serial 7 dnl Copyright (C) 2008-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -12,6 +12,8 @@ AC_DEFUN([gl_DIRENT_H], dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) + dnl Execute this unconditionally, because DIRENT_H may be set by other + dnl modules, after this code is executed. gl_CHECK_NEXT_HEADERS([dirent.h]) ]) diff --git a/m4/iconv_h.m4 b/m4/iconv_h.m4 index bc05b0551..c56a48914 100644 --- a/m4/iconv_h.m4 +++ b/m4/iconv_h.m4 @@ -1,5 +1,5 @@ -# iconv_h.m4 serial 4 -dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. +# iconv_h.m4 serial 5 +dnl Copyright (C) 2007-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -7,6 +7,9 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_ICONV_H], [ AC_REQUIRE([gl_ICONV_H_DEFAULTS]) + + dnl Execute this unconditionally, because ICONV_H may be set by other + dnl modules, after this code is executed. gl_CHECK_NEXT_HEADERS([iconv.h]) ]) diff --git a/m4/spawn_h.m4 b/m4/spawn_h.m4 index 50ef49ec2..4c0c610e2 100644 --- a/m4/spawn_h.m4 +++ b/m4/spawn_h.m4 @@ -1,5 +1,5 @@ -# spawn_h.m4 serial 1 -dnl Copyright (C) 2008 Free Software Foundation, Inc. +# spawn_h.m4 serial 2 +dnl Copyright (C) 2008-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -12,6 +12,8 @@ AC_DEFUN([gl_SPAWN_H], dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_SPAWN_H_DEFAULTS]) + dnl Execute this unconditionally, because SPAWN_H may be set by other + dnl modules, after this code is executed. gl_CHECK_NEXT_HEADERS([spawn.h]) AC_CHECK_HEADERS_ONCE([spawn.h]) diff --git a/m4/wchar.m4 b/m4/wchar.m4 index ce53a45cf..9f22e33ea 100644 --- a/m4/wchar.m4 +++ b/m4/wchar.m4 @@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved. dnl Written by Eric Blake. -# wchar.m4 serial 25 +# wchar.m4 serial 26 AC_DEFUN([gl_WCHAR_H], [ @@ -45,6 +45,8 @@ wchar_t w;]], HAVE_WCHAR_H=0 fi AC_SUBST([HAVE_WCHAR_H]) + dnl Execute this unconditionally, because WCHAR_H may be set by other + dnl modules, after this code is executed. gl_CHECK_NEXT_HEADERS([wchar.h]) ]) -- 2.11.0