]> granicus.if.org Git - neomutt/commitdiff
Do not fail if deflate is not in libz
authorPietro Ceruti <gahr@gahr.ch>
Tue, 10 Oct 2017 06:30:19 +0000 (06:30 +0000)
committerRichard Russon <rich@flatcap.org>
Tue, 10 Oct 2017 14:12:59 +0000 (15:12 +0100)
Issue #828

auto.def

index 47f80cdfca2532fb4bfbceee6b50ada796785360..0812fbb4754be383520eb58ac45290af48d26cf5 100644 (file)
--- a/auto.def
+++ b/auto.def
@@ -541,11 +541,11 @@ if {[get-define want-ssl] && ![get-define want-gnutls]} {
     if {![cc-check-includes openssl/bio.h openssl/err.h openssl/ssl.h] ||
         ![cc-check-function-in-lib X509_STORE_CTX_new crypto] ||
         ![cc-check-function-in-lib SSL_new ssl] ||
-        ![cc-check-function-in-lib deflate z] ||
         ![cc-with {-includes openssl/ssl.h} {cc-check-decls SSL_set_mode}]} {
       user-error "Unable to find OpenSSL"
     }
     cc-check-functions RAND_status RAND_egd
+    cc-check-function-in-lib deflate z
   }
   define USE_SSL
   define USE_SSL_OPENSSL