From: David Levine Date: Sun, 6 Jul 2014 21:46:12 +0000 (-0500) Subject: Fix to commit 03e76aecdf671ca13b5912af8206e9bdcb6c0919 to enable X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a138850f50ffe0620298c0c364e1f3a0f184482c?ds=sidebyside;hp=-c Fix to commit 03e76aecdf671ca13b5912af8206e9bdcb6c0919 to enable TLS by default. Boolean logic is our friend. --- a138850f50ffe0620298c0c364e1f3a0f184482c 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],