From: cresh Date: Fri, 2 Dec 2016 18:06:39 +0000 (+0100) Subject: Some systems need to link to libiconv explicitly, thus add a check for it. (#2586) X-Git-Tag: 4.14~81 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fbf58a67bb0bc74d5fa6da14aafb9a0ac649df7c;p=i3%2Fi3 Some systems need to link to libiconv explicitly, thus add a check for it. (#2586) --- diff --git a/configure.ac b/configure.ac index b57f9efa..c0f3258d 100644 --- a/configure.ac +++ b/configure.ac @@ -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([iconv_open], [iconv], , [AC_MSG_FAILURE([cannot find the required iconv_open() function despite trying to link with -liconv])]) + AX_PTHREAD dnl Each prefix corresponds to a source tarball which users might have