]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Reject the dysfunctional gettext in Solaris libc, other than Solaris 11.4.
authorBruno Haible <bruno@clisp.org>
Thu, 19 Jun 2025 20:34:27 +0000 (22:34 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 19 Jun 2025 20:35:17 +0000 (22:35 +0200)
This fixes a 'make installcheck' failure.

<https://www.illumos.org/issues/13423> has been reported more than 4 years ago.
I don't have hope that they will fix it, ever.

* gettext-runtime/m4/gettext.m4 (AM_GNU_GETTEXT): On Solaris other than
Solaris 11.4, don't use the gettext() function in libc.
* gettext-tools/tests/init.cfg (prepare_locale_): Remove function.
* gettext-tools/tests/format-c-3: Remove prepare_locale_ invocations.
* gettext-tools/tests/format-c-4: Likewise.
* gettext-tools/tests/format-c-5: Likewise.
* gettext-tools/tests/intl-0: Likewise.
* gettext-tools/tests/intl-1: Likewise.
* gettext-tools/tests/intl-2: Likewise.
* gettext-tools/tests/intl-3: Likewise.
* gettext-tools/tests/intl-4: Likewise.
* gettext-tools/tests/intl-6: Likewise.
* gettext-tools/tests/intl-7: Likewise.
* gettext-tools/tests/intl-thread-1: Likewise.
* gettext-tools/tests/intl-thread-2: Likewise.
* gettext-tools/tests/intl-thread-3: Likewise.
* gettext-tools/tests/lang-bash: Likewise.
* gettext-tools/tests/lang-c: Likewise.
* gettext-tools/tests/lang-c++: Likewise.
* gettext-tools/tests/lang-c++20: Likewise.
* gettext-tools/tests/lang-c++26: Likewise.
* gettext-tools/tests/lang-clisp: Likewise.
* gettext-tools/tests/lang-csharp: Likewise.
* gettext-tools/tests/lang-d: Likewise.
* gettext-tools/tests/lang-gawk: Likewise.
* gettext-tools/tests/lang-go: Likewise.
* gettext-tools/tests/lang-guile: Likewise.
* gettext-tools/tests/lang-java: Likewise.
* gettext-tools/tests/lang-javascript: Likewise.
* gettext-tools/tests/lang-librep: Likewise.
* gettext-tools/tests/lang-lua: Likewise.
* gettext-tools/tests/lang-modula2: Likewise.
* gettext-tools/tests/lang-objc: Likewise.
* gettext-tools/tests/lang-pascal: Likewise.
* gettext-tools/tests/lang-perl-1: Likewise.
* gettext-tools/tests/lang-perl-2: Likewise.
* gettext-tools/tests/lang-php: Likewise.
* gettext-tools/tests/lang-python-1: Likewise.
* gettext-tools/tests/lang-python-2: Likewise.
* gettext-tools/tests/lang-ruby: Likewise.
* gettext-tools/tests/lang-rust: Likewise.
* gettext-tools/tests/lang-sh: Likewise.
* gettext-tools/tests/lang-smalltalk: Likewise.
* gettext-tools/tests/lang-tcl: Likewise.
* gettext-tools/tests/lang-vala: Likewise.
* gettext-tools/tests/msgfmt-20: Likewise.
* gettext-tools/tests/plural-1: Likewise.
* NEWS: Mention the change.

47 files changed:
NEWS
gettext-runtime/m4/gettext.m4
gettext-tools/tests/format-c-3
gettext-tools/tests/format-c-4
gettext-tools/tests/format-c-5
gettext-tools/tests/init.cfg
gettext-tools/tests/intl-0
gettext-tools/tests/intl-1
gettext-tools/tests/intl-2
gettext-tools/tests/intl-3
gettext-tools/tests/intl-4
gettext-tools/tests/intl-6
gettext-tools/tests/intl-7
gettext-tools/tests/intl-thread-1
gettext-tools/tests/intl-thread-2
gettext-tools/tests/intl-thread-3
gettext-tools/tests/lang-bash
gettext-tools/tests/lang-c
gettext-tools/tests/lang-c++
gettext-tools/tests/lang-c++20
gettext-tools/tests/lang-c++26
gettext-tools/tests/lang-clisp
gettext-tools/tests/lang-csharp
gettext-tools/tests/lang-d
gettext-tools/tests/lang-gawk
gettext-tools/tests/lang-go
gettext-tools/tests/lang-guile
gettext-tools/tests/lang-java
gettext-tools/tests/lang-javascript
gettext-tools/tests/lang-librep
gettext-tools/tests/lang-lua
gettext-tools/tests/lang-modula2
gettext-tools/tests/lang-objc
gettext-tools/tests/lang-pascal
gettext-tools/tests/lang-perl-1
gettext-tools/tests/lang-perl-2
gettext-tools/tests/lang-php
gettext-tools/tests/lang-python-1
gettext-tools/tests/lang-python-2
gettext-tools/tests/lang-ruby
gettext-tools/tests/lang-rust
gettext-tools/tests/lang-sh
gettext-tools/tests/lang-smalltalk
gettext-tools/tests/lang-tcl
gettext-tools/tests/lang-vala
gettext-tools/tests/msgfmt-20
gettext-tools/tests/plural-1

diff --git a/NEWS b/NEWS
index f364ebb3ed5e20c7a014add1b9e05d5138578010..7e24a48a5644080fb31dfbcaf868df0d8087de4e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@ Version 0.26 - July 2025
       heuristic by using a comment of the form /* xgettext: c-format */.
 
 # Bug fixes:
+  - The AM_GNU_GETTEXT macro now rejects the dysfunctional gettext() function
+    in libc of Solaris 11.[0-3], Solaris OpenIndiana, and Solaris OmniOS.
   - The AM_GNU_GETTEXT macro now recognizes, on MSVC, the GNU libintl built
     as a shared library.
 
index 908f829c3fd6fd00939a49a627bd799ed61fd7dc..67b6d4eaeb7c507220657a4cc2e434807e3a28d4 100644 (file)
@@ -1,5 +1,5 @@
 # gettext.m4
-# serial 82 (gettext-0.26)
+# serial 83 (gettext-0.26)
 dnl Copyright (C) 1995-2025 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -193,7 +193,28 @@ $gt_revision_test_code
 bindtextdomain ("", "");
 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
                ]])],
-            [eval "$gt_func_gnugettext_libc=yes"],
+            [dnl Solaris 11.[0-3] doesn't strip the CODESET part from the locale name,
+             dnl when looking for a message catalog. E.g. when the locale is fr_FR.UTF-8,
+             dnl on Solaris 11.[0-3] it looks for
+             dnl   <LOCALEDIR>/fr_FR.UTF-8/LC_MESSAGES/<domain>.mo
+             dnl   <LOCALEDIR>/fr.UTF-8/LC_MESSAGES/<domain>.mo
+             dnl Similarly, on Solaris 11 OpenIndiana and Solaris 11 OmniOS it looks only for
+             dnl   <LOCALEDIR>/fr_FR.UTF-8/LC_MESSAGES/<domain>.mo
+             dnl Reported at <https://www.illumos.org/issues/13423>.
+             dnl On Solaris 11.4 this is fixed: it looks for
+             dnl   <LOCALEDIR>/fr_FR.UTF-8/LC_MESSAGES/<domain>.mo
+             dnl   <LOCALEDIR>/fr.UTF-8/LC_MESSAGES/<domain>.mo
+             dnl   <LOCALEDIR>/fr_FR/LC_MESSAGES/<domain>.mo
+             dnl   <LOCALEDIR>/fr/LC_MESSAGES/<domain>.mo
+             if test "`uname -sr`" = 'SunOS 5.11'; then
+               case `uname -v` in
+                 11.4 | 11.4.*) eval "$gt_func_gnugettext_libc=yes" ;;
+                 *)             eval "$gt_func_gnugettext_libc=no" ;;
+               esac
+             else
+               eval "$gt_func_gnugettext_libc=yes"
+             fi
+            ],
             [eval "$gt_func_gnugettext_libc=no"])])
 
         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
index 3089d36f131a7558adbad7fbda3fb855a7cfa3d5..b3e7fd64ec3975b148388c6b41af6ad7fb569ea8 100755 (executable)
@@ -66,11 +66,9 @@ else
   : ${LOCALE_FR=fr_FR}
   : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
   if test $LOCALE_FR != none; then
-    prepare_locale_ fc3-dir/fr fc3-dir/$LOCALE_FR
     LANGUAGE= ../fc3 $LOCALE_FR || Exit 1
   fi
   if test $LOCALE_FR_UTF8 != none; then
-    prepare_locale_ fc3-dir/fr fc3-dir/$LOCALE_FR_UTF8
     LANGUAGE= ../fc3 $LOCALE_FR_UTF8 || Exit 1
   fi
   if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
index 8f2d75c0e72a3cfd7f231d8b9309a48c69848d59..1a64ed5bc7eb9a35ca6c26319a1151e354d01f7a 100755 (executable)
@@ -74,11 +74,9 @@ else
   : ${LOCALE_FR=fr_FR}
   : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
   if test $LOCALE_FR != none; then
-    prepare_locale_ fc4-dir/fr fc4-dir/$LOCALE_FR
     LANGUAGE= ../fc4 $LOCALE_FR || Exit 1
   fi
   if test $LOCALE_FR_UTF8 != none; then
-    prepare_locale_ fc4-dir/fr fc4-dir/$LOCALE_FR_UTF8
     LANGUAGE= ../fc4 $LOCALE_FR_UTF8 || Exit 1
   fi
   if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
index 1a70c75772a0f7b09cc83dd9828e3fa92aaca782..fd35faf8059e374e54c2c708194fe397eb804685 100755 (executable)
@@ -69,7 +69,6 @@ else
 
   skipped=true
 
-  prepare_locale_ fa fa_IR
   LANGUAGE= ../fc5 fa_IR
   case $? in
     0) skipped=false ;;
@@ -77,7 +76,6 @@ else
     *) Exit 1;;
   esac
 
-  prepare_locale_ fa fa_IR.UTF-8
   LANGUAGE= ../fc5 fa_IR.UTF-8
   case $? in
     0) skipped=false ;;
@@ -91,7 +89,6 @@ else
   test -d ar/LC_MESSAGES || mkdir ar/LC_MESSAGES
   cp fa/LC_MESSAGES/fc5.mo ar/LC_MESSAGES/fc5.mo
 
-  prepare_locale_ ar ar_EG
   LANGUAGE= ../fc5 ar_EG
   case $? in
     0) skipped=false ;;
@@ -99,7 +96,6 @@ else
     *) Exit 1;;
   esac
 
-  prepare_locale_ ar ar_EG.UTF-8
   LANGUAGE= ../fc5 ar_EG.UTF-8
   case $? in
     0) skipped=false ;;
index 4063903e4910891dc005d47807a9eb695699eb5a..fc1328837770a66c21cbd7fff8c07a8e3eda71b6 100644 (file)
@@ -3,43 +3,6 @@
 # Set environment variables for the tests.
 . ../tests/init-env
 
-prepare_locale_ ()
-{
-  # Solaris 11.[0-3] doesn't strip the CODESET part from the locale name,
-  # when looking for a message catalog. E.g. when the locale is fr_FR.UTF-8,
-  # on Solaris 11.[0-3] it looks for
-  #   <LOCALEDIR>/fr_FR.UTF-8/LC_MESSAGES/<domain>.mo
-  #   <LOCALEDIR>/fr.UTF-8/LC_MESSAGES/<domain>.mo
-  # Similarly, on Solaris 11 OpenIndiana and Solaris 11 OmniOS it looks only for
-  #   <LOCALEDIR>/fr_FR.UTF-8/LC_MESSAGES/<domain>.mo
-  # Reported at <https://www.illumos.org/issues/13423>.
-  # On Solaris 11.4 this is fixed: it looks for
-  #   <LOCALEDIR>/fr_FR.UTF-8/LC_MESSAGES/<domain>.mo
-  #   <LOCALEDIR>/fr.UTF-8/LC_MESSAGES/<domain>.mo
-  #   <LOCALEDIR>/fr_FR/LC_MESSAGES/<domain>.mo
-  #   <LOCALEDIR>/fr/LC_MESSAGES/<domain>.mo
-  # Create a directory link with CODESET, to work around this.
-  if test "$1" != "$2" && test "$GLIBC2" = no; then
-    case "$host_os" in
-      solaris2.11)
-        # Copy the contents of "$1" into "$2", preserving the existing contents
-        # of "$2".
-        mkdir -p "$2"
-        for d in `cd "$1" && find . -type d -print | grep -v '^[.]$' | sed -e 's|^[.]/||'`; do
-          mkdir -p "$2/$d"
-        done
-        for f in `cd "$1" && find . -type f -print`; do
-          if test -f "$2/$f"; then
-            :
-          else
-            ln "$1/$f" "$2/$f"
-          fi
-        done
-        ;;
-    esac
-  fi
-}
-
 # func_filter_POT_Creation_Date inputfile outputfile
 # creates outputfile from inputfile, filtering out any 'POT-Creation-Date' line.
 func_filter_POT_Creation_Date ()
index e19b86cc0f044438ff90444ed0c1206e16deed77..5750f5bd2c35fe2d9c97a39dcd414c86ec259850 100755 (executable)
@@ -19,7 +19,6 @@ EOF
 LC_ALL=C tr -d '\r' < in-0.tmp > in-0-1.out || Exit 1
 ${DIFF} in-0.ok in-0-1.out || Exit 1
 
-prepare_locale_ in-0/C in-0/C.UTF-8
 ../intl-1-prg in-0 C.UTF-8 > in-0.tmp || Exit 1
 LC_ALL=C tr -d '\r' < in-0.tmp > in-0-2.out || Exit 1
 ${DIFF} in-0.ok in-0-2.out || Exit 1
index b572d0d6feee22910b4a83bbe6ecae77db22e314..f9bace6a3c3e3e2dda542a1385811321fdc7d7e3 100755 (executable)
@@ -18,13 +18,11 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ in-1/fr in-1/$LOCALE_FR
   ../intl-1-prg in-1 $LOCALE_FR > in-1.tmp || Exit 1
   LC_ALL=C tr -d '\r' < in-1.tmp > in-1.out || Exit 1
   ${DIFF} in-1.ok in-1.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ in-1/fr in-1/$LOCALE_FR_UTF8
   ../intl-1-prg in-1 $LOCALE_FR_UTF8 > in-1.tmp || Exit 1
   LC_ALL=C tr -d '\r' < in-1.tmp > in-1.out || Exit 1
   ${DIFF} in-1.ok in-1.out || Exit 1
index f7cbbd43be8511fffc01ee9271c264395fef5f6d..0d18f3ccd1d586701ff1a278c641ef939e7d4d48 100755 (executable)
@@ -28,8 +28,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ in-2-1/fr in-2-1/$LOCALE_FR
-  prepare_locale_ in-2-2/fr in-2-2/$LOCALE_FR
   ../intl-1-prg in-2-1 $LOCALE_FR > in-2.tmp || Exit 1
   LC_ALL=C tr -d '\r' < in-2.tmp > in-2.out || Exit 1
   ${DIFF} in-2-1.ok in-2.out || Exit 1
@@ -38,8 +36,6 @@ if test $LOCALE_FR != none; then
   ${DIFF} in-2-1.ok in-2.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ in-2-1/fr in-2-1/$LOCALE_FR_UTF8
-  prepare_locale_ in-2-2/fr in-2-2/$LOCALE_FR_UTF8
   ../intl-1-prg in-2-1 $LOCALE_FR_UTF8 > in-2.tmp || Exit 1
   LC_ALL=C tr -d '\r' < in-2.tmp > in-2.out || Exit 1
   ${DIFF} in-2-2.ok in-2.out || Exit 1
index c283bb9ee44ebd923490da6af95a9496b1356f3c..7801621708c3c0ffd9ce3d7d73e88d71ac1c0480 100755 (executable)
@@ -40,8 +40,6 @@ fi
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ in-3-1/fr in-3-1/$LOCALE_FR
-  prepare_locale_ in-3-2/fr in-3-2/$LOCALE_FR
   ../intl-3-prg in-3-1 $LOCALE_FR ISO-8859-1 > in-3.tmp || Exit 1
   LC_ALL=C tr -d '\r' < in-3.tmp > in-3.out || Exit 1
   ${DIFF} in-3-1.ok in-3.out || Exit 1
@@ -56,8 +54,6 @@ if test $LOCALE_FR != none; then
   ${DIFF} in-3-2.ok in-3.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ in-3-1/fr in-3-1/$LOCALE_FR_UTF8
-  prepare_locale_ in-3-2/fr in-3-2/$LOCALE_FR_UTF8
   ../intl-3-prg in-3-1 $LOCALE_FR_UTF8 ISO-8859-1 > in-3.tmp || Exit 1
   LC_ALL=C tr -d '\r' < in-3.tmp > in-3.out || Exit 1
   ${DIFF} in-3-1.ok in-3.out || Exit 1
index 3b5fce7952d3b0be77e89dc4bf0527831e9b086f..1145353207844e5d9a77b724d01e22c9761a1261 100755 (executable)
@@ -19,7 +19,6 @@ ${MSGFMT} -o in-4/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-4.po
 # traditional german locale.
 : ${LOCALE_FR=fr_FR}
 if test $LOCALE_FR != none; then
-  prepare_locale_ in-4/fr in-4/$LOCALE_FR
   ../intl-4-prg $LOCALE_FR || Exit 1
 else
   if test -f /usr/bin/localedef; then
index b5c26f18965f4edaf6efa799c20d33e8ddba443b..1f704845d790dc7416594bc83d9e0a6b2a8d4e9f 100755 (executable)
@@ -30,7 +30,6 @@ if test $LOCALE_FR != none; then
       # they are not supported in the fr_FR.ISO-8859-1 locale.
       ;;
     *)
-      prepare_locale_ in-6/fr in-6/$LOCALE_FR
       ../intl-6-prg in-6 $LOCALE_FR > in-6.tmp || Exit 1
       LC_ALL=C tr -d '\r' < in-6.tmp > in-6.out || Exit 1
       ${DIFF} in-6.ok in-6.out || Exit 1
@@ -38,7 +37,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ in-6/fr in-6/$LOCALE_FR_UTF8
   ../intl-6-prg in-6 $LOCALE_FR_UTF8 > in-6.tmp || Exit 1
   LC_ALL=C tr -d '\r' < in-6.tmp > in-6.out || Exit 1
   ${DIFF} in-6.ok in-6.out || Exit 1
index a74df0d7d7b49ffc151bdbac0289265491366967..c1c5722b9f22a51ceba6eb62f3428e107671c7fc 100755 (executable)
@@ -108,9 +108,6 @@ if test $LOCALE_FR != none; then
       # they are not supported in the fr_FR.ISO-8859-1 locale.
       ;;
     *)
-      prepare_locale_ in-7/fr_FR in-7/$LOCALE_FR
-      prepare_locale_ in-7/fr in-7/$LOCALE_FR
-      prepare_locale_ "${ldir}"/fr "${ldir}"/$LOCALE_FR
       ../intl-7-prg "${ldir}" in-7 $LOCALE_FR > in-7.tmp || Exit 1
       LC_ALL=C tr -d '\r' < in-7.tmp > in-7.out || Exit 1
       ${DIFF} in-7.ok in-7.out || Exit 1
@@ -118,9 +115,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ in-7/fr_FR in-7/$LOCALE_FR_UTF8
-  prepare_locale_ in-7/fr in-7/$LOCALE_FR_UTF8
-  prepare_locale_ "${ldir}"/fr "${ldir}"/$LOCALE_FR_UTF8
   ../intl-7-prg "${ldir}" in-7 $LOCALE_FR_UTF8 > in-7.tmp || Exit 1
   LC_ALL=C tr -d '\r' < in-7.tmp > in-7.out || Exit 1
   ${DIFF} in-7.ok in-7.out || Exit 1
index b702bef1a002a4be2f7f52ecd6170fc623831a4f..0c7bb1b57f949337d036ed1267574a5e37eb0d5f 100755 (executable)
@@ -14,7 +14,6 @@ ${MSGFMT} -o in-th-1/fr/LC_MESSAGES/tstthread.mo "$wabs_srcdir"/intl-thread-1.po
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ in-th-1/fr in-th-1/$LOCALE_FR
   ../intl-thread-1-prg $LOCALE_FR > in-th-1.out
   case $? in
     0) ;;
@@ -28,7 +27,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ in-th-1/fr in-th-1/$LOCALE_FR_UTF8
   ../intl-thread-1-prg $LOCALE_FR_UTF8 > in-th-1.out
   case $? in
     0) ;;
index 9779c9bbf314c54174e5f8330608755710e109cc..03eeba62fd253a741d06e92a43a36183f304a0ac 100755 (executable)
@@ -28,8 +28,6 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 : ${LOCALE_DE_UTF8=de_DE.UTF-8}
 if test $LOCALE_FR_UTF8 != none && test $LOCALE_DE_UTF8 != none; then
-  prepare_locale_ in-th-2/fr in-th-2/$LOCALE_FR_UTF8
-  prepare_locale_ in-th-2/de in-th-2/$LOCALE_DE_UTF8
   ../intl-thread-2-prg $LOCALE_FR_UTF8 $LOCALE_DE_UTF8 > in-th-2.out
   case $? in
     0)
index 6e35f36369172212b85dc7901e4817c2a3442e18..7affdc0b369bd5f04cf74073ba0737215b03a17e 100755 (executable)
@@ -18,8 +18,6 @@ ${MSGFMT} -o in-th-3/fr/LC_MESSAGES/tstthread.mo "$wabs_srcdir"/intl-thread-3.po
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none && test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ in-th-3/fr in-th-3/$LOCALE_FR
-  prepare_locale_ in-th-3/fr in-th-3/$LOCALE_FR_UTF8
   ../intl-thread-3-prg $LOCALE_FR $LOCALE_FR_UTF8 > in-th-3.out
   case $? in
     0) ;;
index 65c6eb9f2fd3e02412c8e4567ff25a0d4a4a6d08..581879d6933545db0f00fde99dfb0f580cc23f8a 100755 (executable)
@@ -142,7 +142,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR bash ./prog.bash 2 > prog.out || Exit 1
   : ${DIFF=diff}
   ${DIFF} prog.nok prog.out > /dev/null && {
@@ -152,7 +151,6 @@ if test $LOCALE_FR != none; then
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 bash ./prog.bash 2 > prog.out || Exit 1
   : ${DIFF=diff}
   ${DIFF} prog.nok prog.out > /dev/null && {
index 93293d310346fbe917160605b3a56610bb96df0e..0b4b382baedfca32f93d6906d30022fcc2cbd348 100755 (executable)
@@ -128,7 +128,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= ./prog $LOCALE_FR 2 > prog.tmp
   case $? in
     0) case "$host_os" in
@@ -141,7 +140,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= ./prog $LOCALE_FR_UTF8 2 > prog.tmp
   case $? in
     0) case "$host_os" in
index 52cc1c9cb25f6a4a40fe5992a438b59ebc0ca0d7..f913f6ac19451d0b8e6a0d4dc2c4b6bf34e73f2b 100755 (executable)
@@ -148,7 +148,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= ./prog $LOCALE_FR 2 > prog.tmp
   case $? in
     0) case "$host_os" in
@@ -161,7 +160,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= ./prog $LOCALE_FR_UTF8 2 > prog.tmp
   case $? in
     0) case "$host_os" in
index ee0693e0cb03e97a130cbeb1d35df935b80f06dd..f04cf2466bcc13eafa82a5a568f7b2f6bd30737e 100755 (executable)
@@ -178,7 +178,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= ./prog $LOCALE_FR 2 > prog.tmp
   case $? in
     0) case "$host_os" in
@@ -191,7 +190,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= ./prog $LOCALE_FR_UTF8 2 > prog.tmp
   case $? in
     0) case "$host_os" in
index 9fa7df3843cb3bcaccb97ad5a9cde2109e99467a..f0aabc434d7fd84d832417bd57100b0d7a178c2a 100755 (executable)
@@ -155,7 +155,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= ./prog $LOCALE_FR 2 > prog.tmp
   case $? in
     0) case "$host_os" in
@@ -168,7 +167,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= ./prog $LOCALE_FR_UTF8 2 > prog.tmp
   case $? in
     0) case "$host_os" in
index 7cd2a6b71a9f79d85899465545f0b63a69ca60d5..6aa702d3ba8f4274fbf5a18a84e01c8a0108b733 100755 (executable)
@@ -141,13 +141,11 @@ unset LANGUAGE
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LC_ALL=$LOCALE_FR clisp prog.lisp 2 > prog.tmp || Exit 1
   LC_ALL=C tr -d '\r' < prog.tmp > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LC_ALL=$LOCALE_FR_UTF8 clisp prog.lisp 2 > prog.tmp || Exit 1
   LC_ALL=C tr -d '\r' < prog.tmp > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
index 52e06b7a1329ddce50e56405175f1c48ccae76f6..e60414e5bd8fef2e810775afc1b1cffcea240afd 100755 (executable)
@@ -211,12 +211,10 @@ if test $LOCALE_FR != none; then
   # locale_charset() or nl_langinfo(CODESET) [which is "ISO8859-1" in this case]
   # or "UTF-8" - depending on platform or build configuration. So, allow the
   # expected result in UTF-8 encoding here too.
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR ${CSHARPEXEC} -L ../../../gettext-runtime/intl-csharp program.exe 2 > prog.out || Exit 1
   ${DIFF} prog.oku prog.out >/dev/null || ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 ${CSHARPEXEC} -L ../../../gettext-runtime/intl-csharp program.exe 2 > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index b3836a8b9a7fbc154159becce12a3abe357565e0..9b5708543aa8ec4680138dfe62ede2611b76dfd5 100644 (file)
@@ -143,7 +143,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LC_ALL=$LOCALE_FR LANGUAGE= ./prog 2 > prog.tmp
   case $? in
     0) case "$host_os" in
@@ -156,7 +155,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LC_ALL=$LOCALE_FR_UTF8 LANGUAGE= ./prog 2 > prog.tmp
   case $? in
     0) case "$host_os" in
index 498de3e916f2bc082bda3e81df4e0fe6c2c51a94..22c020feab45f777ab872868570dce090f75974d 100755 (executable)
@@ -148,12 +148,10 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR gawk -v n=2 -f prog.awk > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gawk -v n=2 -f prog.awk > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index b4b576e3c6d4986f34a42395bff4cd29acebfa0e..fa5fd58096c88995145de096b0429ce52f637d25 100644 (file)
@@ -146,7 +146,6 @@ if test $LOCALE_FR_UTF8 = none; then
   Exit 77
 fi
 
-prepare_locale_ fr $LOCALE_FR_UTF8
 LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 ./program 2 > prog.out || Exit 1
 ${DIFF} prog.ok prog.out || Exit 1
 
index 714d05eecde913dec30dd5fd0e87a4f414f2d210..aff9f05966fdedb6bf745cefaaca7b4382f80bf5 100755 (executable)
@@ -137,7 +137,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR guile -s prog.scm 2 > prog.out 2>prog.err || { cat prog.err 1>&2; Exit 1; }
   grep -v '^;;;' prog.err 1>&2
   ${DIFF} prog.nok prog.out > /dev/null && {
@@ -147,7 +146,6 @@ if test $LOCALE_FR != none; then
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 guile -s prog.scm 2 > prog.out 2>prog.err || { cat prog.err 1>&2; Exit 1; }
   grep -v '^;;;' prog.err 1>&2
   ${DIFF} prog.nok prog.out > /dev/null && {
index 65e3e246d555ebfbf3a7677ab2faf86257442134..20f8141927435d8088bb614bfb7a5306515fa911 100755 (executable)
@@ -214,12 +214,10 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 : ${JAVAEXEC="/bin/sh ../../javaexec.sh"}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR CLASSPATH=.:../../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 ISO-8859-1 > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 CLASSPATH=.:../../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 UTF-8 > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index fbd21a4c0280ffd6cad868f2df58d29bbc456a9d..c7e5606e1bd69d5ff75316e77df73b4f97b2a43e 100755 (executable)
@@ -112,12 +112,10 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR gjs prog.js > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gjs prog.js > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index d7c88a27bb0407f967cf7e71368a493b970f3f36..3fdf5f639b81108bfe5b3136bb50a6d181d9e441 100755 (executable)
@@ -115,12 +115,10 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR rep --no-rc --batch prog.jl > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 rep --no-rc --batch prog.jl > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index c0e35dfb4ef17afc98ed2b2a9eea7fc01caae3f0..28effd5e2a2f5cdc44751398c3afcf5b2e750465 100755 (executable)
@@ -128,12 +128,10 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR lua -l gettext prog.lua > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 lua -l gettext prog.lua > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index dbdfb9e4aca52193d85e67dcfa3474654c122495..aca2cfdfc0ae9b97380a63300511d4e6a0772a22 100644 (file)
@@ -162,7 +162,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LC_ALL=$LOCALE_FR LANGUAGE= ./prog 2 > prog.tmp
   case $? in
     0) case "$host_os" in
@@ -175,7 +174,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LC_ALL=$LOCALE_FR_UTF8 LANGUAGE= ./prog 2 > prog.tmp
   case $? in
     0) case "$host_os" in
index cc512495eadf4df617a8b903d741807285a3682c..05f8c4d4f49cb2e8bd9683b3596fb1b0bae3edcb 100755 (executable)
@@ -143,7 +143,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= ./prog $LOCALE_FR 2 > prog.tmp
   case $? in
     0) case "$host_os" in
@@ -156,7 +155,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= ./prog $LOCALE_FR_UTF8 2 > prog.tmp
   case $? in
     0) case "$host_os" in
index 8902a7e8ec934a6e329956714800ac39e40aa8f4..bc6f2464b19d60ac97e25803b459e37f7612d3c4 100755 (executable)
@@ -99,14 +99,12 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL= LC_MESSAGES= LC_CTYPE= LANG=$LOCALE_FR ./pascalprog > pascalprog.out || Exit 1
   : ${DIFF=diff}
   ${DIFF} pascalprog.ok pascalprog.out || Exit 1
 fi
 if test -z "$UTF8_LOCALE_UNSUPPORTED"; then
   if test $LOCALE_FR_UTF8 != none; then
-    prepare_locale_ fr $LOCALE_FR_UTF8
     LANGUAGE= LC_ALL= LC_MESSAGES= LC_CTYPE= LANG=$LOCALE_FR_UTF8 ./pascalprog > pascalprog.out || Exit 1
     : ${DIFF=diff}
     ${DIFF} pascalprog.oku pascalprog.out || Exit 1
index 523dcb66fd6a7283fa78825c0a3351ec15069dab..896ef6814e835cb18e0e1e695edc907976010326 100755 (executable)
@@ -105,12 +105,10 @@ case "$host_os" in
   darwin* | netbsd*) LOCALE_FR=none ;;
 esac
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LANG=$LOCALE_FR LC_MESSAGES= LC_CTYPE= LC_ALL= perl program1.pl > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LANG=$LOCALE_FR_UTF8 LC_MESSAGES= LC_CTYPE= LC_ALL= perl program1.pl > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index c74a0b444b8ec340aa4574f7d6f37fc99330a72a..6d7ea3f863b6a7bf5320363aa9b92231886c64a0 100755 (executable)
@@ -105,12 +105,10 @@ case "$host_os" in
   darwin* | netbsd*) LOCALE_FR=none ;;
 esac
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LANG=$LOCALE_FR LC_MESSAGES= LC_CTYPE= LC_ALL= perl program2.pl > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LANG=$LOCALE_FR_UTF8 LC_MESSAGES= LC_CTYPE= LC_ALL= perl program2.pl > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index 4ba8f6f519017dab6db281b35af03e6a678f2d1e..2c7447e4e87b36401aa25a7012ce9a2b31c42096 100755 (executable)
@@ -113,12 +113,10 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR php -q prog.php > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 php -q prog.php > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index ad72bc8560ebe088cf6dcfac2803e68390567e43..50e39db0fd76706af8842033cc6146a6d9143ba3 100755 (executable)
@@ -88,13 +88,11 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 PYTHONIOENCODING=UTF-8 $PYTHON prog1.py > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
 if test -z "$ISO8859_LOCALE_UNSUPPORTED"; then
   if test $LOCALE_FR != none; then
-    prepare_locale_ fr $LOCALE_FR
     LANGUAGE= LC_ALL=$LOCALE_FR PYTHONIOENCODING=ISO-8859-1 $PYTHON prog1.py > prog.out || Exit 1
     ${DIFF} prog.ok prog.out || Exit 1
   fi
index d33f5fe5c7ecb4dfc7b8c3b6dbc56c7e995a0486..6449f29df70e7e262ac5e4f5293232b871016468 100755 (executable)
@@ -109,13 +109,11 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 PYTHONIOENCODING=UTF-8 $PYTHON prog2.py 2 > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
 if test -z "$ISO8859_LOCALE_UNSUPPORTED"; then
   if test $LOCALE_FR != none; then
-    prepare_locale_ fr $LOCALE_FR
     LANGUAGE= LC_ALL=$LOCALE_FR PYTHONIOENCODING=ISO-8859-1 $PYTHON prog2.py 2 > prog.out || Exit 1
     ${DIFF} prog.ok prog.out || Exit 1
   fi
index 6095c0bc2156fe67e0808511485dd18d355aac8c..161f300dfc8513043e3e807bc67050ad193e000b 100644 (file)
@@ -108,12 +108,10 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR ruby prog.rb > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 ruby prog.rb > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index f2e5ff55b0ff6f1db1897dda9af830cba4c532de..840759d94dd295dc560aeed14cbc5b2a384e6358 100755 (executable)
@@ -148,12 +148,10 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR target/debug/gettext-lang-rust 2 > prog.out1 || Exit 1
   ${DIFF} prog.ok prog.out1 || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 target/debug/gettext-lang-rust 2 > prog.out2 || Exit 1
   ${DIFF} prog.ok prog.out2 || Exit 1
 fi
index afc2973235755cff39424be3cf77cf64e1a1cc54..ea16458f9924d5b25be25ff284f3b7e0e2d61d52 100755 (executable)
@@ -172,12 +172,10 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR sh ./prog.sh 2 > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 sh ./prog.sh 2 > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
 fi
index 8c566aaccc32e885a5ff756b907c9ab5bb6eec09..4b8286526ba0f7f3a94e16e4372d8ba378a7525e 100755 (executable)
@@ -117,7 +117,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR gst -Q prog.st > prog.out || Exit 1
   ${DIFF} prog.ok prog.out > /dev/null ||
     ${DIFF} prog.ok2 prog.out > /dev/null ||
@@ -125,7 +124,6 @@ if test $LOCALE_FR != none; then
         { ${DIFF} prog.ok prog.out; Exit 1; }
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gst -Q prog.st > prog.out || Exit 1
   ${DIFF} prog.oku prog.out > /dev/null ||
     ${DIFF} prog.oku2 prog.out > /dev/null ||
index 1de8d5c124b1201415e47fc1d0ba36eae803e9b4..87cd229c1c44ba8cd52a531c39d6d9debfb171ca 100755 (executable)
@@ -105,13 +105,11 @@ case "$host_os" in
     ;;
 esac
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LANG=$LOCALE_FR tclsh program.tcl > prog.tmp || Exit 1
   LC_ALL=C tr -d '\r' < prog.tmp > prog.out || Exit 1
   ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LANG=$LOCALE_FR_UTF8 tclsh program.tcl > prog.tmp || Exit 1
   LC_ALL=C tr -d '\r' < prog.tmp > prog.out || Exit 1
   ${DIFF} prog.oku prog.out || Exit 1
index 8e457320f6aedf68325fa8dba12358bd1599bc4c..f43f6317b71113531ab594385b4b389e954add0b 100755 (executable)
@@ -98,7 +98,6 @@ EOF
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR ./prog > prog.out
   case $? in
     0) ${DIFF} prog.ok prog.out || Exit 1;;
@@ -107,7 +106,6 @@ if test $LOCALE_FR != none; then
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 ./prog > prog.out
   case $? in
     0) ${DIFF} prog.oku prog.out || Exit 1;;
index bbe12e0a8c69007c41b3a91e567d6537c0fc414e..24ebc09b3c8b0e8fec0561f0ae9111c01fc00c8a 100755 (executable)
@@ -75,14 +75,12 @@ EOF
 : ${GETTEXT=gettext}
 : ${DIFF=diff}
 if test $LOCALE_FR != none; then
-  prepare_locale_ fr $LOCALE_FR
   LC_ALL=$LOCALE_FR LANGUAGE= TEXTDOMAINDIR=. TEXTDOMAIN=mf-20 \
   ${GETTEXT} -s 'Sunshine heats.' > mf-20.tmp
   LC_ALL=C tr -d '\r' < mf-20.tmp > mf-20.out
   ${DIFF} mf-20.ok mf-20.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
-  prepare_locale_ fr $LOCALE_FR_UTF8
   LC_ALL=$LOCALE_FR_UTF8 LANGUAGE= TEXTDOMAINDIR=. TEXTDOMAIN=mf-20 \
   ${GETTEXT} -s 'Sunshine heats.' > mf-20.tmp
   LC_ALL=C tr -d '\r' < mf-20.tmp > mf-20.out
index 02d5fce46b4f6be960aced33745fc458438127c7..0021ec1d80f23e6d760ff30f7462a68768d13b13 100755 (executable)
@@ -78,11 +78,9 @@ else
   : ${LOCALE_FR=fr_FR}
   : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
   if test $LOCALE_FR != none; then
-    prepare_locale_ plural-1-dir/fr plural-1-dir/$LOCALE_FR
     func_do_test $LOCALE_FR
   fi
   if test $LOCALE_FR_UTF8 != none; then
-    prepare_locale_ plural-1-dir/fr plural-1-dir/$LOCALE_FR_UTF8
     func_do_test $LOCALE_FR_UTF8
   fi
   if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then