From f21e4ff76b98864e3866eb5640e84eb47e7fde5a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 10 Jul 2023 05:44:09 +0300 Subject: [PATCH 33/33] locale-fr.m4: Update to serial 22 See osdn #48378 Signed-off-by: Marko Lindqvist --- dependencies/m4/locale-fr.m4 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dependencies/m4/locale-fr.m4 b/dependencies/m4/locale-fr.m4 index 107ab931e8..40b13aeaa7 100644 --- a/dependencies/m4/locale-fr.m4 +++ b/dependencies/m4/locale-fr.m4 @@ -1,4 +1,4 @@ -# locale-fr.m4 serial 21 +# locale-fr.m4 serial 22 dnl Copyright (C) 2003, 2005-2023 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -133,6 +133,12 @@ int main () { rm -fr conftest* ]) LOCALE_FR=$gt_cv_locale_fr + case $LOCALE_FR in #( + '' | *[[[:space:]\"\$\'*@<:@]]*) + dnl This locale name might cause trouble with sh or make. + AC_MSG_WARN([invalid locale "$LOCALE_FR"; assuming "none"]) + LOCALE_FR=none;; + esac AC_SUBST([LOCALE_FR]) ]) @@ -261,6 +267,12 @@ int main () { esac ]) LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 + case $LOCALE_FR_UTF8 in #( + '' | *[[[:space:]\"\$\'*@<:@]]*) + dnl This locale name might cause trouble with sh or make. + AC_MSG_WARN([invalid locale "$LOCALE_FR_UTF8"; assuming "none"]) + LOCALE_FR_UTF8=none;; + esac AC_SUBST([LOCALE_FR_UTF8]) dnl Users of $LOCALE_FR_UTF8 need to know which of the locale categories they -- 2.40.1