if test "$ac_cv_func_iconv" != "yes";then
AC_LIB_HAVE_LINKFLAGS(iconv,, [#include <iconv.h>], [iconv (0, 0, 0, 0, 0);])
+ if test "$HAVE_LIBICONV" = "yes";then
+ ac_have_unicode=yes
+ fi
+else
+ ac_have_unicode=yes
fi
AC_MSG_CHECKING([whether to build libdane])
Anon auth support: $ac_enable_anon
Heartbeat support: $ac_enable_heartbeat
RSA-EXPORT compat: $ac_enable_rsa_export
+ Unicode support: $ac_have_unicode
])
AC_MSG_NOTICE([Optional applications:
auth/libgnutls_auth.la algorithms/libgnutls_alg.la \
extras/libgnutls_extras.la
thirdparty_libadd = $(LTLIBZ) $(LTLIBINTL) $(LIBSOCKET) $(LIBRT) \
- $(LTLIBPTHREAD) $(LTLIBICONV) $(P11_KIT_LIBS) $(LIB_SELECT) $(TSS_LIBS)
+ $(LTLIBPTHREAD) $(LTLIBICONV) $(P11_KIT_LIBS) $(LIB_SELECT) $(TSS_LIBS) \
+ $(LTLIBICONV)
if ENABLE_OPENPGP
libgnutls_la_LIBADD += openpgp/libgnutls_openpgp.la
return add_system_trust(list, tl_flags, tl_vflags);
}
-#if defined(HAVE_ICONV)
+#if defined(HAVE_ICONV) || defined(HAVE_LIBICONV)
# include <iconv.h>