The locale names in Solaris 10 and Solaris 7 follow the same conventions.
2024-03-05 Bruno Haible <br...@clisp.org> locale-*.m4: Update comments. * m4/locale-ar.m4: Update comments for Solaris 10. * m4/locale-fr.m4: Likewise. * m4/locale-ja.m4: Likewise. * m4/locale-tr.m4: Likewise. diff --git a/m4/locale-ar.m4 b/m4/locale-ar.m4 index e7d23f44b4..f431b535fc 100644 --- a/m4/locale-ar.m4 +++ b/m4/locale-ar.m4 @@ -84,7 +84,7 @@ AC_DEFUN_ONCE([gt_LOCALE_AR] # - The usual locale name: ar_SA # - The locale name with explicit encoding suffix: ar_SA.ISO-8859-6 # - The HP-UX locale name: ar_SA.iso88596 - # - The Solaris 7 locale name: ar + # - The Solaris 10 locale name: ar # Also try ar_EG instead of ar_SA because Egypt is a large country too. for gt_cv_locale_ar in ar_SA ar_SA.ISO-8859-6 ar_SA.iso88596 ar_EG ar_EG.ISO-8859-6 ar_EG.iso88596 ar none; do if test $gt_cv_locale_ar = none; then diff --git a/m4/locale-fr.m4 b/m4/locale-fr.m4 index c9528562e7..53750b5b38 100644 --- a/m4/locale-fr.m4 +++ b/m4/locale-fr.m4 @@ -116,7 +116,7 @@ AC_DEFUN_ONCE([gt_LOCALE_FR] if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else - # Test for the Solaris 7 locale name. + # Test for the Solaris 10 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else @@ -250,7 +250,7 @@ AC_DEFUN_ONCE([gt_LOCALE_FR_UTF8] if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR.UTF-8 else - # Test for the Solaris 7 locale name. + # Test for the Solaris 10 locale name. if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr.UTF-8 else diff --git a/m4/locale-ja.m4 b/m4/locale-ja.m4 index 71a9863b47..852ce940c1 100644 --- a/m4/locale-ja.m4 +++ b/m4/locale-ja.m4 @@ -117,7 +117,7 @@ AC_DEFUN_ONCE([gt_LOCALE_JA] if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC else - # Test for the Solaris 7 locale name. + # Test for the Solaris 10 locale name. if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja else diff --git a/m4/locale-tr.m4 b/m4/locale-tr.m4 index b68e429a87..37fd920492 100644 --- a/m4/locale-tr.m4 +++ b/m4/locale-tr.m4 @@ -105,7 +105,7 @@ AC_DEFUN_ONCE([gt_LOCALE_TR_UTF8] if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr_TR.UTF-8 else - # Test for the Solaris 7 locale name. + # Test for the Solaris 10 locale name. if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr.UTF-8 else