[Bugfix] Improve compatibility with ancient GNUTLS implementations even more.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4278 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/configure.ac b/configure.ac
index 0c70936..278e47b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,7 +112,9 @@
 		       [AC_DEFINE(HAVE_GNUTLS_X509_CRT_PRINT, 1, [Is the gnutls_x509_crt_print() function present? ])
 			AC_MSG_RESULT(yes)],
 			AC_MSG_RESULT(no))
-	
+	AC_CHECK_TYPES([gnutls_x509_crt_t, gnutls_datum_t,
+			gnutls_pk_algorithm_t, gnutls_sign_algorithm_t],
+			[], [], [#include <gnutls/gnutls.h>])
 	LIBS=${SAVE_LIBS}
 fi
 AC_SUBST([GNUTLS_LIBS])