Displaying 1 result from an estimated 1 matches for "ac_cv_search_iconv".
2018 Nov 06
5
Further nbdkit patches for Haiku
...ERS([\
alloca.h \
byteswap.h \
endian.h \
+ iconv.h \
selinux/selinux.h \
sys/endian.h \
sys/prctl.h \
@@ -164,6 +165,29 @@ AC_SEARCH_LIBS([dlopen], [dl dld], [
])
LIBS="$old_LIBS"
+old_LIBS="$LIBS"
+AC_SEARCH_LIBS([iconv], [iconv], [
+ AS_IF([test "x$ac_cv_search_iconv" != "xnone required"],
+ [ICONV_LIBS="$ac_cv_search_iconv"
+ have_iconv=yes
+ ],
+ [ICONV_LIBS=
+ have_iconv=yes])
+ ], [
+ AC_SEARCH_LIBS([libiconv], [iconv], [
+ AS_IF([test "x$ac_cv_search_libic...