A small tweak to allow IRIX to work by detecting ISO-8859-1 to UTF-8,
authorRichard Sharpe <sharpe@samba.org>
Thu, 14 Aug 2003 00:08:42 +0000 (00:08 +0000)
committerRichard Sharpe <sharpe@samba.org>
Thu, 14 Aug 2003 00:08:42 +0000 (00:08 +0000)
because Samba really only needs CP850 to UTF-8 and ISO-8859-1 seems to be
much the same as 8859.
(This used to be commit 02e3d779f150f99e777007a50b58861c8921925b)

source3/configure.in

index ea8ad753187bc202ed3cbacb500cdae916dfe27a..a16c5cbf966664685f44186536802076ebc53394 100644 (file)
@@ -1573,7 +1573,7 @@ main(){
        if (cd == 0 || cd == (iconv_t)-1) {
           cd = iconv_open("IBM850", "UCS-2LE"); /* Solaris has this */
           if (cd == 0 || cd == (iconv_t)-1) {
-             cd = iconv_open("ISO-8859-1", "UCS-2LE"); /* Solaris has this */
+             cd = iconv_open("ISO-8859-1", "UTF-8"); /* IRIX has this */
              if (cd == 0 || cd == (iconv_t)-1) {
                 return -1;
             }