Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -2083,5 +2083,14 @@ printf " ** be locked for every retain and release! If you don't " echo "need threads, try" echo " ** --disable-threads to work around this problem." echo ]) + +AS_IF([test x"$enable_sockets" != x"no" -a x"$tls_support" = x"no"], [ + echo + printf " ** Warning: You have enabled sockets, but no TLS " + echo "implementation was found." + printf " ** TLS support will be disabled. Please install " + echo "GnuTLS for TLS support." + echo +])