From a138850f50ffe0620298c0c364e1f3a0f184482c Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 6 Jul 2014 16:46:12 -0500 Subject: [PATCH] Fix to commit 03e76aecdf671ca13b5912af8206e9bdcb6c0919 to enable TLS by default. Boolean logic is our friend. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 846466f8..7fb50025 100644 --- a/configure.ac +++ b/configure.ac @@ -42,9 +42,9 @@ AS_IF([test x"$with_cyrus_sasl" != x -a x"$with_cyrus_sasl" != x"no"],[ dnl Do you want client-side support for encryption with TLS? AC_ARG_WITH([tls], AS_HELP_STRING([--with-tls], [Enable TLS support])) -AS_IF([test x"$with_tls" != x -a x"$with_tls" != x"no"],[ +AS_IF([test x"$with_tls" = x -o x"$with_tls" != x"no"],[ AC_DEFINE([TLS_SUPPORT], [1], [Support TLS for session encryption.])dnl - tls_support=no],[tls_support=yes]) + tls_support=yes],[tls_support=no]) dnl Set the backup prefix AC_ARG_WITH([hash-backup], -- 2.56.0