summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-09-11 21:02:55 +0200
committerGernot Tenchio <gernot@tenchio.de>2011-09-19 22:16:33 +0200
commitcb0340ccc5351a2ab31ad03b2dc13334ba349d71 (patch)
treee814f8f48575d880c145f7c9babd2900fbfc0dfd /configure.ac
parent2046cc9abd284528075abbaa758b148cece62d82 (diff)
downloadlibtdevnc-cb0340ccc5351a2ab31ad03b2dc13334ba349d71.tar.gz
libtdevnc-cb0340ccc5351a2ab31ad03b2dc13334ba349d71.zip
Autotools: Fix OpenSSL and GnuTLS advertisement.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3e7c901..a986912 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,7 +146,7 @@ something like libssl-dev) and run configure again.
[AC_DEFINE(HAVE_X509_PRINT_EX_FP) HAVE_X509_PRINT_EX_FP="true"], , $SSL_LIBS
)
fi
-AM_CONDITIONAL(HAVE_LIBSSL, test "x$with_crypto" != "xno" -a "x$with_ssl" != "xno")
+AM_CONDITIONAL(HAVE_LIBSSL, test ! -z "$SSL_LIBS")
# Checks for X libraries
HAVE_X11="false"
@@ -796,6 +796,7 @@ if test "x$with_gnutls" != "xno"; then
AC_DEFINE(WITH_CLIENT_TLS)
fi
fi
+AM_CONDITIONAL(HAVE_GNUTLS, test ! -z "$GNUTLS_LIBS")
# IPv6
AH_TEMPLATE(IPv6, [Enable IPv6 support])