Some systems need to link to libiconv explicitly, thus add a check for it. (#2586)

This commit is contained in:
cresh 2016-12-02 19:06:39 +01:00 committed by Michael Stapelberg
parent 6b9b12c303
commit fbf58a67bb
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ AC_SEARCH_LIBS([ev_run], [ev], , [AC_MSG_FAILURE([cannot find the required ev_ru
AC_SEARCH_LIBS([shm_open], [rt]) AC_SEARCH_LIBS([shm_open], [rt])
AC_SEARCH_LIBS([iconv_open], [iconv], , [AC_MSG_FAILURE([cannot find the required iconv_open() function despite trying to link with -liconv])])
AX_PTHREAD AX_PTHREAD
dnl Each prefix corresponds to a source tarball which users might have dnl Each prefix corresponds to a source tarball which users might have