[], [AC_MSG_ERROR([pthread is required])])
AC_CHECK_LIB([gnutls], [gnutls_certificate_verify_peers2],
[], [AC_MSG_ERROR([GnuTLS is required])])
+dnl Check for additional GnuTLS functions.
+AX_CHECK_LIB_FUNC([gnutls],[gnutls_transport_set_int2])
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug],[enable debug output])],
AC_DEFINE([USE_IPV4_ONLY], 1, [Define to not use IPv6.])
fi])
-AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
+AC_CONFIG_FILES([Makefile man/Makefile src/Makefile tests/Makefile])
AC_OUTPUT