]> Savannah Git Hosting - gnulib.git/commitdiff
stdint, wchar, wctype-h: Change configure message.
authorBruno Haible <bruno@clisp.org>
Wed, 26 Aug 2020 23:27:21 +0000 (01:27 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 26 Aug 2020 23:30:42 +0000 (01:30 +0200)
* 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
m4/wint_t.m4

index c33d854a3c87849a65ce0ea39f401de7dc062823..535094dbb4560e5b1cda8c758a8d90f702ecff6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index 5e6c1780a2316641f44774058bbff6b6fea81f26..cf9764da3ccb4e1bd689cad3b6cbc3687744f435 100644 (file)
@@ -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