patch applied (packages/base): Fix iconv detection on OpenBSD

Matthias Kilian kili at outback.escape.de
Thu Jun 25 14:48:53 EDT 2009


On Thu, Jun 25, 2009 at 09:02:59AM +0100, Simon Marlow wrote:
> >Wed Jun 24 05:54:22 PDT 2009  Ian Lynagh<igloo at earth.li>
> >   * Fix iconv detection on OpenBSD
> >   Matthias Kilian discovered that iconv_open is #define'd to something
> >   else on OpenBSD, so the test needs to include the iconv header.
> >
> >     M ./aclocal.m4 +36
> >     M ./configure.ac -2 +16
> 
> If iconv_open is #defined on OpenBSD, then we need a C wrapper presumably?

Or do some evil C preprocessor hackery. I'm trying something in
that direction now,..

BTW: I'd like to know how the other BSDs are behaving. NetBSD seems
to contain its own iconv implementation in the base system, but
FreeBSD apparently uses GNU libiconv from their ports tree, similar
to OpenBSD.

Ciao,
	Kili


More information about the Cvs-libraries mailing list