Commit 68964c29 authored by Johannes Schindelin's avatar Johannes Schindelin

Fallback to --without-client-tls if GNUTLS could not be found

Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 58a8df6f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment