On Sat, Jan 19, 2008 at 05:23:50PM +0100, Thomas-Martin Seck wrote:
* Thomas-Martin Seck (tmseck-lists@netcologne.de):
Sorry, I had hoped that the autotools could deal with this somehow and since I only use FreeBSD I could only get to the "works for me" state. What does break on Linux? The intent is to check for libiconv.h in the default include path and for iconv_open in libiconv, assuming that libiconv can be located without adding -L/path/to/libiconv to LDFLAGS explicitly.
OK, I learned that glibc(?) nowadays includes iconv functionality. I updated the patch so that it checks for iconv_open in libc first and, failing this, in libiconv next. It still works on FreeBSD 6.2, could you please test whether this is the correct approach for Linux et al?
It works here, committed! Comments welcome. -- Cheers Jorge.-