RE: [PATCH 1/2] configure: add a fallback check for zlib
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 10 May 2014 22:27:34 +0000 (17:27 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:39 +0000 (10:02 -0800)
97/f7d8f0aeeecf0bc3f221501adf525702cab14b [new file with mode: 0644]

diff --git a/97/f7d8f0aeeecf0bc3f221501adf525702cab14b b/97/f7d8f0aeeecf0bc3f221501adf525702cab14b
new file mode 100644 (file)
index 0000000..1189ccd
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <felipe.contreras@gmail.com>\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 BA64D431FC0\r
+       for <notmuch@notmuchmail.org>; Sat, 10 May 2014 15:27:45 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 8xGh55-2+ocx for <notmuch@notmuchmail.org>;\r
+       Sat, 10 May 2014 15:27:40 -0700 (PDT)\r
+Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com\r
+       [209.85.214.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 4148B431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 10 May 2014 15:27:40 -0700 (PDT)\r
+Received: by mail-ob0-f178.google.com with SMTP id va2so6574383obc.9\r
+       for <notmuch@notmuchmail.org>; Sat, 10 May 2014 15:27:39 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=date:from:to:message-id:in-reply-to:references:subject:mime-version\r
+       :content-type:content-transfer-encoding;\r
+       bh=MXljUWpiN+6WTv9QQl7H7M3xDRUXlkk5rhJ67IzbrjE=;\r
+       b=qG8+DvleqtRs0XMMHvtwbyXo4p9wNdmxYw4tlNW2jLV6CHFS61Croc73WXnqCxskUO\r
+       TMVcm3wFI9sRzjggLgtrmNrCFotM4/vkz6l/674gDJj8lP7MCCFaTtFLZJPRLJNQ7MVF\r
+       zsr30FV9AN78SXEbXvXIsG6l5veVcSEyy0s0KX8emluFHd74YiBcluDGovUILDz5bbWE\r
+       c0ZgaBGbjOkyaxeKeY7pKZp3o6GxuLG4dLkdXcFZek6ytTPiBojM39y+GJkGF6VyDxjd\r
+       WThf+wm577nsYOnsaIoL/oYFh/com8RmYhbTtgTgHTy3D6S5eCPIKxtqbMpruBfjcVSp\r
+       7lBg==\r
+X-Received: by 10.182.33.6 with SMTP id n6mr23628418obi.48.1399760859753;\r
+       Sat, 10 May 2014 15:27:39 -0700 (PDT)\r
+Received: from localhost (189-211-224-40.static.axtel.net. [189.211.224.40])\r
+       by mx.google.com with ESMTPSA id\r
+       jy6sm11076309obc.25.2014.05.10.15.27.37 for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Sat, 10 May 2014 15:27:38 -0700 (PDT)\r
+Date: Sat, 10 May 2014 17:27:34 -0500\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, \r
+       Felipe Contreras <felipe.contreras@gmail.com>, \r
+       =?UTF-8?B?WMSrY8Oy?= <xico@atelo.org>, notmuch@notmuchmail.org\r
+Message-ID: <536ea7d6a4c86_3c5a8eb3048b@nysa.notmuch>\r
+In-Reply-To: <m261ldi98h.fsf@guru.guru-group.fi>\r
+References: <1399753646-3026-1-git-send-email-xico@atelo.org>\r
+       <536e965c9415e_300d7772fc9@nysa.notmuch>\r
+       <m261ldi98h.fsf@guru.guru-group.fi>\r
+Subject: RE: [PATCH 1/2] configure: add a fallback check for zlib\r
+Mime-Version: 1.0\r
+Content-Type: text/plain;\r
+ charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\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 22:27:45 -0000\r
+\r
+Tomi Ollila wrote:\r
+> On Sun, May 11 2014, Felipe Contreras <felipe.contreras@gmail.com> wrot=\r
+e:\r
+> =\r
+\r
+> > X=C4=ABc=C3=B2 wrote:\r
+> >> Since zlib is part of the base system, FreeBSD chose not to register=\r
+ it\r
+> >> in pkg-config through zlib.pc. As a fallback test, configure will bu=\r
+ild\r
+> >> and run a zlib version check and make sure the header and library\r
+> >> versions are compatible.\r
+> >\r
+> > We could try to generate our on zlib.pc, this way the configure scrip=\r
+t\r
+> > would be cleaner.\r
+> =\r
+\r
+> But for that we'd need to figure out the version, and is there simpler\r
+> robust way to do that some other way ?\r
+\r
+I don't meant to change the code that is checking for the version in the\r
+patch, you use the same code, but instead of have_zlib.c gen_zlib_pc.c,\r
+or something.\r
+\r
+-- =\r
+\r
+Felipe Contreras=\r