summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-08-27 01:27:21 +0200
committerBruno Haible <bruno@clisp.org>2020-08-27 01:30:42 +0200
commit43c206be396573a16f24305901c9e9cff20f916e (patch)
tree62b83355b2d592f5222e71e4d880cd7a581abe10
parent2e076b392151d2034fa7c80903d64ea60f791e4f (diff)
downloadgnulib-43c206be396573a16f24305901c9e9cff20f916e.tar.gz
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...".
-rw-r--r--ChangeLog6
-rw-r--r--m4/wint_t.m412
2 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index c33d854a3c..535094dbb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2020-08-26 Bruno Haible <bruno@clisp.org>
+ 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-08-26 Bruno Haible <bruno@clisp.org>
+
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 5e6c1780a2..cf9764da3c 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 <wchar.h> or <wctype.h> 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: <stdio.h> must be included before
@@ -48,9 +48,9 @@ AC_DEFUN([gt_TYPE_WINT_T],
#include <wchar.h>
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