]> diplodocus.org Git - nmh/commitdiff
Fix to commit 03e76aecdf671ca13b5912af8206e9bdcb6c0919 to enable
authorDavid Levine <levinedl@acm.org>
Sun, 6 Jul 2014 21:46:12 +0000 (16:46 -0500)
committerDavid Levine <levinedl@acm.org>
Sun, 6 Jul 2014 21:46:12 +0000 (16:46 -0500)
TLS by default.  Boolean logic is our friend.

configure.ac

index 846466f8b28e4e2638f1518e8e2a74721f1a7be4..7fb5002583d8793870a1d6716e2f62a88a7d9875 100644 (file)
@@ -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],