summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2009-10-02 11:11:28 +0200
committerJohannes Schindelin <johannes.schindelin@gmx.de>2009-10-02 11:52:06 +0200
commit68964c29d97b9b9d9d5bfbe685eb05c3c17c5fd1 (patch)
tree79b5077a8fbfa9d2c824c7937aa5cccead4f20b3
parent58a8df6ff2bffa46d96b057603c93d824f1c8591 (diff)
downloadlibtdevnc-68964c29.tar.gz
libtdevnc-68964c29.zip
Fallback to --without-client-tls if GNUTLS could not be found
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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