test -f "./init-env" \
  && . "./init-env"

prepare_locale_ ()
{
  # Solaris 11 doesn't strip the CODESET part from the locale name,
  # when looking for a message catalog.  Create a directory link with
  # CODESET, to work around this.
  if test "$1" != "$2" && test "$GLIBC2" = no; then
    case "$host_os" in
      solaris2.11)
        cp -R "$1" "$2"
        ;;
    esac
  fi
}
