From: Bruno Haible Date: Sat, 9 May 2020 08:33:45 +0000 (+0200) Subject: Macro tweaks. X-Git-Tag: v1.0~4118 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=2bbe201944c2e65a49e71c6d3d3bfefb0049e899;p=gnulib.git Macro tweaks. * m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): Correct config.h comment. * m4/wint_t.m4 (gt_TYPE_WINT_T): Correct indentation. --- diff --git a/ChangeLog b/ChangeLog index c22d515af1..ff78eaf4a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-05-09 Bruno Haible + + Macro tweaks. + * m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): Correct config.h comment. + * m4/wint_t.m4 (gt_TYPE_WINT_T): Correct indentation. + 2020-05-08 Bruno Haible c32rtomb: Avoid compilation failure on Haiku. diff --git a/m4/c32rtomb.m4 b/m4/c32rtomb.m4 index f55ce3161b..fcf2fc85e3 100644 --- a/m4/c32rtomb.m4 +++ b/m4/c32rtomb.m4 @@ -1,4 +1,4 @@ -# c32rtomb.m4 serial 2 +# c32rtomb.m4 serial 3 dnl Copyright (C) 2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -62,7 +62,7 @@ int main () case "$gl_cv_func_c32rtomb_retval" in *yes) ;; *) AC_DEFINE([C32RTOMB_RETVAL_BUG], [1], - [Define if the wcrtomb function has an incorrect return value.]) + [Define if the c32rtomb function has an incorrect return value.]) REPLACE_C32RTOMB=1 ;; esac fi diff --git a/m4/wint_t.m4 b/m4/wint_t.m4 index 877fd86c7e..5e6c1780a2 100644 --- a/m4/wint_t.m4 +++ b/m4/wint_t.m4 @@ -1,4 +1,4 @@ -# wint_t.m4 serial 7 +# wint_t.m4 serial 8 dnl Copyright (C) 2003, 2007-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -35,7 +35,7 @@ AC_DEFUN([gt_TYPE_WINT_T], AC_CACHE_CHECK([whether wint_t is too small], [gl_cv_type_wint_t_too_small], [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[ + [AC_LANG_PROGRAM([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be @@ -46,10 +46,10 @@ AC_DEFUN([gt_TYPE_WINT_T], # include #endif #include - int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1]; - ]])], - [gl_cv_type_wint_t_too_small=no], - [gl_cv_type_wint_t_too_small=yes])]) + int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1]; + ]])], + [gl_cv_type_wint_t_too_small=no], + [gl_cv_type_wint_t_too_small=yes])]) if test $gl_cv_type_wint_t_too_small = yes; then GNULIB_OVERRIDES_WINT_T=1 else