From fbf58a67bb0bc74d5fa6da14aafb9a0ac649df7c Mon Sep 17 00:00:00 2001 From: cresh Date: Fri, 2 Dec 2016 19:06:39 +0100 Subject: [PATCH] Some systems need to link to libiconv explicitly, thus add a check for it. (#2586) --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) 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