[PATCH] Fallback check for zlib
[notmuch-archives.git] / 2d / 7cc788f4f8390d4d08f8326ae0fb81a3462cf9
diff --git a/2d/7cc788f4f8390d4d08f8326ae0fb81a3462cf9 b/2d/7cc788f4f8390d4d08f8326ae0fb81a3462cf9
new file mode 100644 (file)
index 0000000..aa85e49
--- /dev/null
@@ -0,0 +1,68 @@
+Return-Path: <xico@atelo.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 116F7431FC0\r
+       for <notmuch@notmuchmail.org>; Fri,  9 May 2014 22:34:52 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.001\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
+       tests=[UNPARSEABLE_RELAY=0.001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id T9G4VORaVHsl for <notmuch@notmuchmail.org>;\r
+       Fri,  9 May 2014 22:34:48 -0700 (PDT)\r
+Received: from mail.atelo.org (atelo.org [192.95.27.91])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 84EDC431FBC\r
+       for <notmuch@notmuchmail.org>; Fri,  9 May 2014 22:34:48 -0700 (PDT)\r
+Received: from coyotlan.atelo.org (ovo.atelo.org [192.168.1.7]);\r
+       by mail.atelo.org (OpenSMTPD) with ESMTP id d3c89030;\r
+       Sat, 10 May 2014 05:34:15 +0000 (UTC)\r
+Received: from localhost (1001@localhost [local]);\r
+       by localhost (OpenSMTPD) with ESMTPA id 68714757;\r
+       Fri, 9 May 2014 22:34:41 -0700 (PDT)\r
+User-Agent: OpenSMTPD enqueuer (Demoostik)\r
+From: =?UTF-8?q?X=C4=ABc=C3=B2?= <xico@atelo.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] Fallback check for zlib\r
+Date: Fri,  9 May 2014 22:33:42 -0700\r
+Message-Id: <1399700023-8041-1-git-send-email-xico@atelo.org>\r
+X-Mailer: git-send-email 1.9.2\r
+In-Reply-To: <874n0y5qo5.fsf@maritornes.cs.unb.ca>\r
+References: <874n0y5qo5.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: 8bit\r
+Cc: Tomi Ollila <tomi.ollila@iki.fi>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 10 May 2014 05:34:52 -0000\r
+\r
+Added the fallback check for zlib. Tested on FreeBSD stable/10.\r
+C test checks for major zlib compatibility (see zlib doc/examples).\r
+\r
+Xīcò (1):\r
+  Fallback check for zlib.\r
+\r
+ compat/have_zlib.c |  6 ++++++\r
+ configure          | 21 ++++++++++++++++-----\r
+ 2 files changed, 22 insertions(+), 5 deletions(-)\r
+ create mode 100644 compat/have_zlib.c\r
+\r
+-- \r
+1.9.2\r
+\r