Yes, that's true, thanks.
I'm currently working on it. It is little bit more complicated, but it 
should be fixed soon.

(To avoid conflict, the libiconv contain function named libiconv_open, 
at least in certain version).

Pavel

David Hedbor wrote:

> Guenter Radestock <[EMAIL PROTECTED]> writes:
> 
> > On Fri, Oct 13, 2000 at 01:50:16PM +0200, Pavel Hlavnicka wrote:
> > > 
> > > In this time the iconv library is the part of libc.
> > > 
> > > Proposal:
> > > autoconf checks the presence of iconv_open in libc.
> > > 
> > > If function is not present, autoconf adds -liconv to sabcmd_LDADD.
> > > 
> > 
> > This seems to be the right idea.  As I said before, I unfortunately have
> > no idea how to use autoconf to do this (and not enough time to find
> > out).  Probably you have to write a little test program at have
> > configure try to link it without '-liconv' and see if it works.
> > 
> > If you want to change the configure, I would be glad to test it on my
> > system, though.  Thanks for your help.
> 
> AC_CHECK_FUNCS(iconv_open)
> if test "$ac_cv_func_iconv_open" != "yes"; then
>   AC_CHECK_LIB(iconv, iconv_open)
> fi
> 
> The above should do the trick. 
> 
> 

-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic

Reply via email to