Re: [PATCH 1/2] configure: add a fallback check for zlib
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 22 May 2014 08:15:58 +0000 (03:15 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:55 +0000 (10:02 -0800)
28/d3285a7aa036bdf490cb6f8322aa9454467ee1 [new file with mode: 0644]

diff --git a/28/d3285a7aa036bdf490cb6f8322aa9454467ee1 b/28/d3285a7aa036bdf490cb6f8322aa9454467ee1
new file mode 100644 (file)
index 0000000..c08828f
--- /dev/null
@@ -0,0 +1,117 @@
+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 7060A431FBC\r
+       for <notmuch@notmuchmail.org>; Thu, 22 May 2014 01:27:20 -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 qHMTvEn95KVJ for <notmuch@notmuchmail.org>;\r
+       Thu, 22 May 2014 01:27:15 -0700 (PDT)\r
+Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com\r
+       [209.85.214.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 524A7431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 22 May 2014 01:27:15 -0700 (PDT)\r
+Received: by mail-ob0-f173.google.com with SMTP id wm4so3445587obc.4\r
+       for <notmuch@notmuchmail.org>; Thu, 22 May 2014 01:27:14 -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=Ltb2idcANitXCy29qPmgmeSelv3kQw0WyZHJznruEyI=;\r
+       b=Re8Y5vkNKhTHA3eXESsCImBmxWx+nxBGCOYSpCnXqktEO3B6eBnKknC0NY7hv/m6ou\r
+       FBpwRzqHoiewxpzlmDBlqnDIKmgfhmU9or4Y5QOyLx8ZJBGNSTCXeTqhWoD6pc3PgFuo\r
+       n8wpeTkpTMF7xbGe5aiqLwmziWgDlDsANdREgeJ8MC8+RG2An4Y09jILcrx3INaCTAPR\r
+       y3Uhm0C76hbfjv4jg52hd/hj9R+WCh2vKsoc1DzUH1i2wPpNekpCSlyN/PirqiPiufo4\r
+       hMaCqJGX+zPx1icgtThkXUtqPSmaUb5t70MIZwf1O8iqjLhwRfOck8irR9FQJSxbeAn3\r
+       b3YA==\r
+X-Received: by 10.60.142.169 with SMTP id rx9mr56899621oeb.1.1400747234834;\r
+       Thu, 22 May 2014 01:27:14 -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
+       gp4sm18818739obb.17.2014.05.22.01.27.13 for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Thu, 22 May 2014 01:27:14 -0700 (PDT)\r
+Date: Thu, 22 May 2014 03:15:58 -0500\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: Fraser Tweedale <frase@frase.id.au>, \r
+ notmuch@notmuchmail.org\r
+Message-ID: <537db23eacf31_1c7bd6f308fd@nysa.notmuch>\r
+In-Reply-To: <20140521091304.GT62147@bacardi.hollandpark.frase.id.au>\r
+References: <1399753646-3026-1-git-send-email-xico@atelo.org>\r
+       <536e965c9415e_300d7772fc9@nysa.notmuch>\r
+       <m261ldi98h.fsf@guru.guru-group.fi>\r
+       <536ea7d6a4c86_3c5a8eb3048b@nysa.notmuch>\r
+       <20140521091304.GT62147@bacardi.hollandpark.frase.id.au>\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: Thu, 22 May 2014 08:27:20 -0000\r
+\r
+Fraser Tweedale wrote:\r
+> On Sat, May 10, 2014 at 05:27:34PM -0500, Felipe Contreras wrote:\r
+> > Tomi Ollila wrote:\r
+> > > On Sun, May 11 2014, Felipe Contreras <felipe.contreras@gmail.com> =\r
+wrote:\r
+> > > =\r
+\r
+> > > > X=C4=ABc=C3=B2 wrote:\r
+> > > >> Since zlib is part of the base system, FreeBSD chose not to regi=\r
+ster it\r
+> > > >> in pkg-config through zlib.pc. As a fallback test, configure wil=\r
+l build\r
+> > > >> and run a zlib version check and make sure the header and librar=\r
+y\r
+> > > >> versions are compatible.\r
+> > > >\r
+> > > > We could try to generate our on zlib.pc, this way the configure s=\r
+cript\r
+> > > > would be cleaner.\r
+> > > =\r
+\r
+> > > But for that we'd need to figure out the version, and is there simp=\r
+ler\r
+> > > robust way to do that some other way ?\r
+> > =\r
+\r
+> > I don't meant to change the code that is checking for the version in =\r
+the\r
+> > patch, you use the same code, but instead of have_zlib.c gen_zlib_pc.=\r
+c,\r
+> > or something.\r
+> > =\r
+\r
+> =\r
+\r
+> [please cc me in replies; I am not subscribed to the list]\r
+\r
+Unless the list does Reply-To munging, there's no need to say that. And\r
+this is a sane list, so no Reply-To munging :)\r
+\r
+http://felipec.wordpress.com/2010/08/03/avoid-reply-to-munging-mail-as-ma=\r
+il-was-meant-to-be/\r
+\r
+-- =\r
+\r
+Felipe Contreras=\r