]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Portability to Solaris 7.
authorBruno Haible <bruno@clisp.org>
Thu, 4 Sep 2003 21:28:30 +0000 (21:28 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:57 +0000 (12:10 +0200)
gettext-tools/m4/ChangeLog
gettext-tools/m4/locale-fr.m4

index e3550425e396803ac30df94fbd27a29d2400e8c5..1c1ebea4f2911f6c1c5aa24c776d07272cb55bf0 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-04  Bruno Haible  <bruno@clisp.org>
+
+       * locale-fr.m4 (gt_LOCALE_FR): Add support for Solaris 7.
+
 2003-08-26  Bruno Haible  <bruno@clisp.org>
 
        * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
index ee9707c47bdab2706056d1c4723dfce2c5fbc91a..854847b0210f07a68af1ad91f3935a2e6e848e3a 100644 (file)
@@ -47,12 +47,17 @@ changequote([,])dnl
             if (LC_ALL=fr_FR.iso88591 ./conftest; exit) 2>/dev/null; then
               gt_cv_locale_fr=fr_FR.iso88591
             else
-              # Special test for NetBSD 1.6.
-              if test -f /usr/share/locale/fr_FR.ISO8859-1/LC_CTYPE; then
-                gt_cv_locale_fr=fr_FR.ISO8859-1
+              # Test for the Solaris 7 locale name.
+              if (LC_ALL=fr ./conftest; exit) 2>/dev/null; then
+                gt_cv_locale_fr=fr
               else
-                # None found.
-                gt_cv_locale_fr=fr_FR
+                # Special test for NetBSD 1.6.
+                if test -f /usr/share/locale/fr_FR.ISO8859-1/LC_CTYPE; then
+                  gt_cv_locale_fr=fr_FR.ISO8859-1
+                else
+                  # None found.
+                  gt_cv_locale_fr=fr_FR
+                fi
               fi
             fi
           fi