3 # Choose an existing locale. The locale encoding does not matter; see the
4 # comment in test-quotearg.po.
5 if test $LOCALE_FR_UTF8 != none
; then
8 if test $LOCALE_FR != none
; then
15 # Work around a limitation of gettext() on native Windows in gettext 0.18.1:
16 # the locale identifiers in the environment variables LC_ALL etc. have to
17 # be in Unix conventions, not in native Window conventions.
18 if test $locale = French_France
.65001; then
21 if test $locale = French_France
.1252; then
25 # Work around a bug on Solaris 11 systems with no GNU gettext installed.
26 # See gettext/gettext-tools/tests/init.cfg.
27 localedir
="$srcdir/testlocale"
28 if test $locale != none
&& test $locale != fr
; then
32 cp -R "$srcdir/testlocale/fr" "testlocale/$locale"
33 localedir
="testlocale"
38 LOCALE
=$locale LOCALEDIR
="$localedir" \
39 ${CHECKER} .
/test-quotearg
${EXEEXT}
42 if test $locale != none
&& test $locale != fr
; then
45 rm -rf "testlocale/$locale"
46 rmdir testlocale
2>/dev
/null