Add a library check for iconv, since it works now and it doesn't always live in libc.

This commit is contained in:
Brian Cox 2016-05-06 21:09:49 -07:00
parent ec9b4317ca
commit add9c7f6b9
1 changed files with 6 additions and 0 deletions

View File

@ -127,6 +127,12 @@ AC_CHECK_LIB(c, gethostbyname, [:], [
AC_CHECK_LIB(network, gethostbyname, [LIBS="-lnetwork $LIBS"] [:])
]) ])
dnl iconv? check the usual locations
AC_CHECK_LIB(c, iconv, [:], [
AC_CHECK_LIB(iconv, iconv, [
LIBS="-liconv $LIBS"
], [:]) ])
dnl check for stl library
AC_LANG_SAVE
AC_LANG_CPLUSPLUS