From 68964c29d97b9b9d9d5bfbe685eb05c3c17c5fd1 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Fri, 2 Oct 2009 11:11:28 +0200 Subject: [PATCH] Fallback to --without-client-tls if GNUTLS could not be found Signed-off-by: Johannes Schindelin --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7b45157..a45bbf2 100644 --- a/configure.ac +++ b/configure.ac @@ -675,7 +675,7 @@ AC_ARG_WITH(client-tls, [ --without-client-tls disable support for gnutls in libvncclient],,) if test "x$with_gnutls" != "xno"; then - PKG_CHECK_MODULES(GNUTLS, gnutls >= 2.8.0) + PKG_CHECK_MODULES(GNUTLS, gnutls >= 2.8.0, , with_client_tls=no) CFLAGS="$CFLAGS $GNUTLS_CFLAGS" LIBS="$LIBS $GNUTLS_LIBS" if test "x$with_client_tls" != "xno"; then