When your libc doesn't provide iconv, and that you use GNU libiconv, iconv is available on libiconv_plug.so.

SVN revision: 38052
This commit is contained in:
Chidambar Zinnoury 2008-12-09 13:31:38 +00:00
parent 273b7422d6
commit dfadbd5bd7
1 changed files with 9 additions and 0 deletions

View File

@ -251,6 +251,15 @@ if test "x$have_iconv" = "xno" ; then
]
)
fi
if test "x$have_iconv" != "xyes"; then
AC_CHECK_LIB(iconv_plug, iconv,
[
iconv_libs="-liconv_plug"
have_iconv="yes"
]
)
fi
fi
AC_MSG_CHECKING(for explicit iconv link options)
AC_MSG_RESULT($iconv_libs)