]> git.sur5r.net Git - i3/i3/commitdiff
Some systems need to link to libiconv explicitly, thus add a check for it. (#2586)
authorcresh <marcus@crestani.de>
Fri, 2 Dec 2016 18:06:39 +0000 (19:06 +0100)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Fri, 2 Dec 2016 18:06:39 +0000 (19:06 +0100)
configure.ac

index b57f9efaf3eb793dcfe3d585ff641a6b768b342b..c0f3258da449071733bf313745cf6c0da3ef9e65 100644 (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([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