>From 039706de6b0c006d60b08c72744a6b04cbe4bea3 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 26 Jul 2020 16:46:10 +0200 Subject: [PATCH 4/4] stdint, wchar, wctype-h: Change configure message. * m4/wint_t.m4 (gt_TYPE_WINT_T): Say "checking whether wint_t is large enough..." instead of "checking whether wint_t is too small...". --- ChangeLog | 6 ++++++ m4/wint_t.m4 | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 471e716..5c074c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2020-07-26 Bruno Haible + stdint, wchar, wctype-h: Change configure message. + * m4/wint_t.m4 (gt_TYPE_WINT_T): Say "checking whether wint_t is large + enough..." instead of "checking whether wint_t is too small...". + +2020-07-26 Bruno Haible + time_rz: Change configure message. * m4/time_rz.m4 (gl_TIME_RZ): Say "checking whether localtime works even near extrema..." instead of "checking whether localtime loops forever diff --git a/m4/wint_t.m4 b/m4/wint_t.m4 index 5e6c178..cf9764d 100644 --- a/m4/wint_t.m4 +++ b/m4/wint_t.m4 @@ -1,4 +1,4 @@ -# wint_t.m4 serial 8 +# wint_t.m4 serial 9 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, @@ -32,8 +32,8 @@ AC_DEFUN([gt_TYPE_WINT_T], dnl Determine whether gnulib's or would, if present, dnl override 'wint_t'. - AC_CACHE_CHECK([whether wint_t is too small], - [gl_cv_type_wint_t_too_small], + AC_CACHE_CHECK([whether wint_t is large enough], + [gl_cv_type_wint_t_large_enough], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before @@ -48,9 +48,9 @@ AC_DEFUN([gt_TYPE_WINT_T], #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])]) - if test $gl_cv_type_wint_t_too_small = yes; then + [gl_cv_type_wint_t_large_enough=yes], + [gl_cv_type_wint_t_large_enough=no])]) + if test $gl_cv_type_wint_t_large_enough = no; then GNULIB_OVERRIDES_WINT_T=1 else GNULIB_OVERRIDES_WINT_T=0 -- 2.7.4