Testing whether or not the build platform has a working iconv

David Lee t.d.lee at durham.ac.uk
Mon Jun 16 15:57:07 GMT 2003


On Sun, 15 Jun 2003, Richard Sharpe wrote:

> On Sun, 15 Jun 2003, Alexander Bokovoy wrote:
>
> > 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.
>
> Hmmm, none of those seem to be relevant here. I am simply wanting to clean
> up the selection of iconv etc.


"Yes, but...".  The possibilities under discussion in the main thread
"codeset issue on non-Linux" included whether to _require_ GNU iconv to be
installed.  Now that's a hot topic!  If that _were_ to become the case
then your "location of iconv" topic would become irrelevant.

So the topics on that thread, and this one of where "iconv" is to be
found, do interact, possibly profoundly.

I suggest that we try to keep all the iconv discussion together, in that
one thread, although recognising that some of the topics, under some
models, might be independent.

Hope that helps.



-- 

:  David Lee                                I.T. Service          :
:  Systems Programmer                       Computer Centre       :
:                                           University of Durham  :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham                :
:  Phone: +44 191 334 2752                  U.K.                  :



More information about the samba-technical mailing list