Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / tests / init.cfg
1 test -f "./init-env" \
2   && . "./init-env"
3
4 prepare_locale_ ()
5 {
6   # Solaris 11 doesn't strip the CODESET part from the locale name,
7   # when looking for a message catalog.  Create a directory link with
8   # CODESET, to work around this.
9   if test "$1" != "$2" && test "$GLIBC2" = no; then
10     case "$host_os" in
11       solaris2.11)
12         cp -R "$1" "$2"
13         ;;
14     esac
15   fi
16 }