X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=configure.ac;h=1784fa83d0541edcc695097d9203a193d9af26c3;hb=5720ba65ab073fff40cdf89f598d560e40741967;hp=8dce4f9f7846ffcefb0fabbfce894ce602ed216f;hpb=ec5a048792a233d6b91c5cfd2acf80aa025696ec;p=i3%2Fi3 diff --git a/configure.ac b/configure.ac index 8dce4f9f..1784fa83 100644 --- a/configure.ac +++ b/configure.ac @@ -81,9 +81,10 @@ AC_SEARCH_LIBS([floor], [m], , [AC_MSG_FAILURE([cannot find the required floor() # libev does not ship with a pkg-config file :(. AC_SEARCH_LIBS([ev_run], [ev], , [AC_MSG_FAILURE([cannot find the required ev_run() function despite trying to link with -lev])]) -AC_SEARCH_LIBS([shm_open], [rt]) +AC_SEARCH_LIBS([shm_open], [rt], [], [], [-pthread]) -AC_SEARCH_LIBS([iconv_open], [iconv], , [AC_MSG_FAILURE([cannot find the required iconv_open() function despite trying to link with -liconv])]) +AC_SEARCH_LIBS([iconv_open], [iconv], , +AC_SEARCH_LIBS([libiconv_open], [iconv], , [AC_MSG_FAILURE([cannot find the required iconv_open() function despite trying to link with -liconv])])) AX_PTHREAD