Testing whether or not the build platform has a working iconv

Alexander Bokovoy a.bokovoy at sam-solutions.net
Sun Jun 15 12:04:56 GMT 2003

On Sat, Jun 14, 2003 at 11:13:25PM -0700, Richard Sharpe wrote:
> So,
> I have some changes that allow configure to correctly find the include 
> file and library for iconv.
> However, I notice that the test to see if we have a working iconv, there 
> are two problems:
> 1. It assumes that iconv uses the standard include files and library 
> names.
> 2. It tests for ASCII to UCS-2LE as a conversion type, which Samba handles 
> internally, and iconv-2.0_3 on FreeBSD and the version of iconv on 
> Slowaris does not seem to handle these. A better test would be for CP850 
> to UCS-2LE, I think.
> Any observations?
Yes, look at our discussion for codeset issues on non-Linux platform in
past few days.
/ Alexander Bokovoy
In an orderly world, there's always a place for the disorderly.

More information about the samba-technical mailing list