]> Savannah Git Hosting - gnulib.git/commitdiff
Fix quoting of $LOCALE_EN_UTF8 (regression yesterday).
authorBruno Haible <bruno@clisp.org>
Sun, 1 Sep 2024 10:42:30 +0000 (12:42 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 1 Sep 2024 10:42:30 +0000 (12:42 +0200)
* m4/iswdigit.m4 (gl_FUNC_ISWDIGIT): Properly quote $LOCALE_EN_UTF8.
* m4/iswxdigit.m4 (gl_FUNC_ISWXDIGIT): Likewise.
* m4/mbrlen.m4 (gl_MBRLEN_RETVAL): Likewise.
* m4/mbrtoc16.m4 (gl_MBRTOC16_NULL_DESTINATION): Likewise.
* m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE, gl_MBRTOWC_NULL_ARG1,
gl_MBRTOWC_NULL_ARG2, gl_MBRTOWC_RETVAL, gl_MBRTOWC_STORES_INCOMPLETE):
Likewise.
* m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): Likewise.
* m4/stdlib_h.m4 (gl_STDLIB_H): Likewise.
* m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise.

ChangeLog
m4/iswdigit.m4
m4/iswxdigit.m4
m4/mbrlen.m4
m4/mbrtoc16.m4
m4/mbrtowc.m4
m4/mbsrtowcs.m4
m4/stdlib_h.m4
m4/wcrtomb.m4

index b0a5e5b7fa8c1d0cdbd9f0a41b9fe557e3cd0ba5..2a9d575f42bbfd03aff821f533f773786effa4ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2024-09-01  Bruno Haible  <bruno@clisp.org>
+
+       Fix quoting of $LOCALE_EN_UTF8 (regression yesterday).
+       * m4/iswdigit.m4 (gl_FUNC_ISWDIGIT): Properly quote $LOCALE_EN_UTF8.
+       * m4/iswxdigit.m4 (gl_FUNC_ISWXDIGIT): Likewise.
+       * m4/mbrlen.m4 (gl_MBRLEN_RETVAL): Likewise.
+       * m4/mbrtoc16.m4 (gl_MBRTOC16_NULL_DESTINATION): Likewise.
+       * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE, gl_MBRTOWC_NULL_ARG1,
+       gl_MBRTOWC_NULL_ARG2, gl_MBRTOWC_RETVAL, gl_MBRTOWC_STORES_INCOMPLETE):
+       Likewise.
+       * m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): Likewise.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Likewise.
+       * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise.
+
 2024-09-01  Bruno Haible  <bruno@clisp.org>
 
        doc: Mention how to obtain UTF-8 locales.
@@ -14,9 +28,9 @@
        Strengthen LC_CTYPE configure tests on OpenBSD, Android, Haiku.
        * m4/mbrlen.m4 (gl_MBRLEN_RETVAL): Require gt_LOCALE_EN_UTF8 instead of
        gt_LOCALE_FR_UTF8. Use LOCALE_EN_UTF8 instead of LOCALE_FR_UTF8.
-       * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE, gl_MBRTOWC_SANITYCHECK,
-       gl_MBRTOWC_NULL_ARG1, gl_MBRTOWC_NULL_ARG2, gl_MBRTOWC_RETVAL,
-       gl_MBRTOWC_STORES_INCOMPLETE): Likewise.
+       * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE, gl_MBRTOWC_NULL_ARG1,
+       gl_MBRTOWC_NULL_ARG2, gl_MBRTOWC_RETVAL, gl_MBRTOWC_STORES_INCOMPLETE):
+       Likewise.
        * m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): Likewise.
        * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise.
        * m4/mbrtoc16.m4 (gl_MBRTOC16_NULL_DESTINATION): Require
 2024-08-27  Bruno Haible  <bruno@clisp.org>
 
        write-any-file: Don't reference an undefined function on native Windows.
-       * m4/write-any-file.m4 (): Remove test for <priv.h>, obsolete since
-       2009-05-03. Test for geteuid.
+       * m4/write-any-file.m4 (gl_WRITE_ANY_FILE): Remove test for <priv.h>,
+       obsolete since 2009-05-03. Test for geteuid.
        * lib/write-any-file.c (geteuid): Define a fallback.
 
 2024-08-27  Bruno Haible  <bruno@clisp.org>
index 4c71007a63f7fad4414ab9560fed0a10a1cec62e..f07feae4954a925f6d4e6067eab697261e9478df 100644 (file)
@@ -1,5 +1,5 @@
 # iswdigit.m4
-# serial 8
+# serial 9
 dnl Copyright (C) 2020-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -33,7 +33,7 @@ changequote(,)dnl
          *) gl_cv_func_iswdigit_works="guessing yes" ;;
        esac
 changequote([,])dnl
-       if test $LOCALE_FR != none || test $LOCALE_JA != none || test $LOCALE_EN_UTF8 != none || test $LOCALE_ZH_CN != none; then
+       if test $LOCALE_FR != none || test $LOCALE_JA != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_ZH_CN != none; then
          AC_RUN_IFELSE(
            [AC_LANG_SOURCE([[
 #include <locale.h>
index b5ca40e058d167bceaf302d40dc335f695bf882f..1a8e57b0a221febbfbf99e91abd71e0e16efa293 100644 (file)
@@ -1,5 +1,5 @@
 # iswxdigit.m4
-# serial 8
+# serial 9
 dnl Copyright (C) 2020-2024 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,7 +32,7 @@ changequote(,)dnl
          *) gl_cv_func_iswxdigit_works="guessing yes" ;;
        esac
 changequote([,])dnl
-       if test $LOCALE_JA != none || test $LOCALE_EN_UTF8 != none || test $LOCALE_ZH_CN != none; then
+       if test $LOCALE_JA != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_ZH_CN != none; then
          AC_RUN_IFELSE(
            [AC_LANG_SOURCE([[
 #include <locale.h>
index 5602c0596bb4323eb8624c466c3848f271bcdfa1..9e46ca0a241ad638fff89592a1fa98e6b5d8d001 100644 (file)
@@ -1,5 +1,5 @@
 # mbrlen.m4
-# serial 13
+# serial 14
 dnl Copyright (C) 2008, 2010-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -107,7 +107,7 @@ changequote(,)dnl
         *)                gl_cv_func_mbrlen_retval="guessing yes" ;;
       esac
 changequote([,])dnl
-      if test $LOCALE_EN_UTF8 != none || test $LOCALE_JA != none; then
+      if test "$LOCALE_EN_UTF8" != none || test $LOCALE_JA != none; then
         AC_RUN_IFELSE(
           [AC_LANG_SOURCE([[
 #include <locale.h>
index a562c7dc7bffba2c9d894cf1dffc5f76a70c13bf..0240a0ca1db1f6470e527c649a3232862d2e091f 100644 (file)
@@ -1,5 +1,5 @@
 # mbrtoc16.m4
-# serial 3
+# serial 4
 dnl Copyright (C) 2014-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -90,7 +90,7 @@ changequote(,)dnl
           gl_cv_func_mbrtoc16_null_destination="guessing yes" ;;
       esac
 changequote([,])dnl
-      if test $LOCALE_EN_UTF8 != none; then
+      if test "$LOCALE_EN_UTF8" != none; then
         AC_RUN_IFELSE(
           [AC_LANG_SOURCE([[
              #include <locale.h>
index 618ab8ffe192979fcb4d9e6e4982d3a0edb3f3c9..ad7a7c73a0443a503fe0048c671cad3689a8898a 100644 (file)
@@ -1,5 +1,5 @@
 # mbrtowc.m4
-# serial 45
+# serial 46
 dnl Copyright (C) 2001-2002, 2004-2005, 2008-2024 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
@@ -200,7 +200,7 @@ int main ()
           [gl_cv_func_mbrtowc_incomplete_state=no],
           [:])
       else
-        if test $LOCALE_EN_UTF8 != none; then
+        if test "$LOCALE_EN_UTF8" != none; then
           AC_RUN_IFELSE(
             [AC_LANG_SOURCE([[
 #include <locale.h>
@@ -303,7 +303,7 @@ changequote(,)dnl
         *)        gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
       esac
 changequote([,])dnl
-      if test $LOCALE_EN_UTF8 != none; then
+      if test "$LOCALE_EN_UTF8" != none; then
         AC_RUN_IFELSE(
           [AC_LANG_SOURCE([[
 #include <locale.h>
@@ -366,7 +366,7 @@ changequote(,)dnl
         *)    gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
       esac
 changequote([,])dnl
-      if test $LOCALE_EN_UTF8 != none; then
+      if test "$LOCALE_EN_UTF8" != none; then
         AC_RUN_IFELSE(
           [AC_LANG_SOURCE([[
 #include <locale.h>
@@ -422,7 +422,7 @@ changequote(,)dnl
           gl_cv_func_mbrtowc_retval="guessing yes" ;;
       esac
 changequote([,])dnl
-      if test $LOCALE_EN_UTF8 != none || test $LOCALE_JA != none \
+      if test "$LOCALE_EN_UTF8" != none || test $LOCALE_JA != none \
          || { case "$host_os" in mingw* | windows*) true;; *) false;; esac; }; then
         AC_RUN_IFELSE(
           [AC_LANG_SOURCE([[
@@ -650,7 +650,7 @@ int main ()
          ;;
        *)
          AC_REQUIRE([gt_LOCALE_EN_UTF8])
-         if test $LOCALE_EN_UTF8 != none; then
+         if test "$LOCALE_EN_UTF8" != none; then
            AC_RUN_IFELSE(
              [AC_LANG_SOURCE([[
 #include <locale.h>
index 29ab3258698cb19acd62b3b358e25d66c7c6e4aa..7aa1b11e507af3aa0b3556c92fd9b29504d3a199 100644 (file)
@@ -1,5 +1,5 @@
 # mbsrtowcs.m4
-# serial 18
+# serial 19
 dnl Copyright (C) 2008-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -70,7 +70,7 @@ changequote(,)dnl
           gl_cv_func_mbsrtowcs_works="guessing yes" ;;
       esac
 changequote([,])dnl
-      if test $LOCALE_FR != none || test $LOCALE_EN_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
+      if test $LOCALE_FR != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
         AC_RUN_IFELSE(
           [AC_LANG_SOURCE([[
 #include <locale.h>
index b546a438b8426193dc3c493748d0540d2996d480..5d9b3017c44d0711132b67975ad7b65fcde63e0e 100644 (file)
@@ -1,5 +1,5 @@
 # stdlib_h.m4
-# serial 80
+# serial 81
 dnl Copyright (C) 2007-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -51,7 +51,7 @@ changequote(,)dnl
         *)                 gl_cv_macro_MB_CUR_MAX_good="guessing yes" ;;
       esac
 changequote([,])dnl
-      if test $LOCALE_EN_UTF8 != none; then
+      if test "$LOCALE_EN_UTF8" != none; then
         AC_RUN_IFELSE(
           [AC_LANG_SOURCE([[
 #include <locale.h>
index 5d8388c344173a9a0287bdd0c2760081abb0371d..cc0e935f24d8d6df1545cd76f85bcb2a209d2c53 100644 (file)
@@ -1,5 +1,5 @@
 # wcrtomb.m4
-# serial 20
+# serial 21
 dnl Copyright (C) 2008-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -90,7 +90,7 @@ changequote(,)dnl
               gl_cv_func_wcrtomb_retval="guessing yes" ;;
           esac
 changequote([,])dnl
-          if test $LOCALE_FR != none || test $LOCALE_EN_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
+          if test $LOCALE_FR != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
             AC_RUN_IFELSE(
               [AC_LANG_SOURCE([[
 #include <locale.h>