[PATCH v4 5/7] Introduce _notmuch_message_has_term()
[notmuch-archives.git] / 16 / 94b4ae1987e8df177b45d5608f110e53c4998c
1 Return-Path: <frase@frase.id.au>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 1BA71431FC4\r
6         for <notmuch@notmuchmail.org>; Wed, 21 May 2014 15:13:31 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 0KBdpgxL03Bu for <notmuch@notmuchmail.org>;\r
16         Wed, 21 May 2014 15:13:23 -0700 (PDT)\r
17 Received: from captainmorgan.hollandpark.frase.id.au\r
18         (110-174-235-130.static.tpgi.com.au [110.174.235.130])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id D18AE431FBC\r
22         for <notmuch@notmuchmail.org>; Wed, 21 May 2014 15:13:22 -0700 (PDT)\r
23 Received: from bacardi.hollandpark.frase.id.au\r
24         (bacardi.hollandpark.frase.id.au [192.168.0.100])\r
25         by captainmorgan.hollandpark.frase.id.au (8.14.5/8.14.5) with ESMTP id\r
26         s4LMDBa8028318; Thu, 22 May 2014 08:13:11 +1000 (EST)\r
27         (envelope-from frase@frase.id.au)\r
28 Received: from bacardi.hollandpark.frase.id.au (localhost [127.0.0.1])\r
29         by bacardi.hollandpark.frase.id.au (8.14.7/8.14.7) with ESMTP id\r
30         s4LMDBPc085980\r
31         (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\r
32         verify=NO); Thu, 22 May 2014 08:13:11 +1000 (EST)\r
33         (envelope-from frase@frase.id.au)\r
34 Received: (from fraser@localhost)\r
35         by bacardi.hollandpark.frase.id.au (8.14.7/8.14.7/Submit) id\r
36         s4LMD8gm085979; Thu, 22 May 2014 08:13:08 +1000 (EST)\r
37         (envelope-from frase@frase.id.au)\r
38 X-Authentication-Warning: bacardi.hollandpark.frase.id.au: fraser set sender\r
39         to frase@frase.id.au using -f\r
40 Date: Thu, 22 May 2014 08:13:08 +1000\r
41 From: Fraser Tweedale <frase@frase.id.au>\r
42 To: Tomi Ollila <tomi.ollila@iki.fi>\r
43 Subject: Re: [PATCH 1/2] configure: add a fallback check for zlib\r
44 Message-ID: <20140521221307.GU62147@bacardi.hollandpark.frase.id.au>\r
45 References: <1399753646-3026-1-git-send-email-xico@atelo.org>\r
46         <536e965c9415e_300d7772fc9@nysa.notmuch>\r
47         <m261ldi98h.fsf@guru.guru-group.fi>\r
48         <536ea7d6a4c86_3c5a8eb3048b@nysa.notmuch>\r
49         <20140521091304.GT62147@bacardi.hollandpark.frase.id.au>\r
50         <m2ioozori6.fsf@guru.guru-group.fi>\r
51 MIME-Version: 1.0\r
52 Content-Type: multipart/signed; micalg=pgp-sha1;\r
53         protocol="application/pgp-signature"; boundary="2xeD/fx0+7k8I/QN"\r
54 Content-Disposition: inline\r
55 In-Reply-To: <m2ioozori6.fsf@guru.guru-group.fi>\r
56 User-Agent: Mutt/1.5.23 (2014-03-12)\r
57 Cc: notmuch@notmuchmail.org\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Wed, 21 May 2014 22:13:31 -0000\r
71 \r
72 \r
73 --2xeD/fx0+7k8I/QN\r
74 Content-Type: text/plain; charset=utf-8\r
75 Content-Disposition: inline\r
76 Content-Transfer-Encoding: quoted-printable\r
77 \r
78 On Wed, May 21, 2014 at 10:34:25PM +0300, Tomi Ollila wrote:\r
79 > On Wed, May 21 2014, Fraser Tweedale <frase@frase.id.au> wrote:\r
80 >=20\r
81 > > On Sat, May 10, 2014 at 05:27:34PM -0500, Felipe Contreras wrote:\r
82 > >> Tomi Ollila wrote:\r
83 > >> > On Sun, May 11 2014, Felipe Contreras <felipe.contreras@gmail.com> w=\r
84 rote:\r
85 > >> >=20\r
86 > >> > > X=C4=ABc=C3=B2 wrote:\r
87 > >> > >> Since zlib is part of the base system, FreeBSD chose not to regis=\r
88 ter it\r
89 > >> > >> in pkg-config through zlib.pc. As a fallback test, configure will=\r
90  build\r
91 > >> > >> and run a zlib version check and make sure the header and library\r
92 > >> > >> versions are compatible.\r
93 > >> > >\r
94 > >> > > We could try to generate our on zlib.pc, this way the configure sc=\r
95 ript\r
96 > >> > > would be cleaner.\r
97 > >> >=20\r
98 > >> > But for that we'd need to figure out the version, and is there simpl=\r
99 er\r
100 > >> > robust way to do that some other way ?\r
101 > >>=20\r
102 > >> I don't meant to change the code that is checking for the version in t=\r
103 he\r
104 > >> patch, you use the same code, but instead of have_zlib.c gen_zlib_pc.c,\r
105 > >> or something.\r
106 > >>=20\r
107 > >\r
108 > > [please cc me in replies; I am not subscribed to the list]\r
109 > >\r
110 > > I think that the additional complexity outweighs the benefit of a\r
111 > > somewhat cleaner build script.\r
112 > >\r
113 > > If the $vz1, $vz2, et al. are what's bothering you, perhaps we could\r
114 > > push the complexity of version comparison into have_zlib.c and\r
115 > > supply the (string) version number as an argument to the program.\r
116 > > The have_zlib program could do the comparison and exit accordingly,\r
117 > > and plain old "1.2.5.2" can take its place in the configure script\r
118 > > once more.\r
119 > >\r
120 > > However, I don't see any problems with the patch as it is; I have\r
121 > > tested it on FreeBSD 10.0 and it works.\r
122 >=20\r
123 > Did you notice=20\r
124 >=20\r
125 > http://mid.gmane.org/1399864172-28227-1-git-send-email-felipe.contreras@g=\r
126 mail.com\r
127 >=20\r
128 > :D\r
129 >=20\r
130 \r
131 Whups, I missed that one :)  Cheers.\r
132 \r
133 > >\r
134 > > Regards,\r
135 > >\r
136 > > Fraser\r
137 > >\r
138 > >> --=20\r
139 > >> Felipe Contreras\r
140 >=20\r
141 > Tomi\r
142 \r
143 --2xeD/fx0+7k8I/QN\r
144 Content-Type: application/pgp-signature\r
145 \r
146 -----BEGIN PGP SIGNATURE-----\r
147 Version: GnuPG v2.0.22 (FreeBSD)\r
148 \r
149 iQIcBAEBAgAGBQJTfSTzAAoJEEtTkFJBEeHi9PMQAL4khwt/qMwGAJDp8CFw/COU\r
150 ov0MA9mCRnPkbJLBYnJEB2WQD7QLpCY5Gle1rZIxYOVB1VUjR0VKoBFV+osCxB/b\r
151 +duxeZled2ftrNt9Xq1yn4mBIqbfbcuG3+dUQ0ZFBpjut3d8wv1Xm/Ey+esw8YWC\r
152 MCHD9zHiqIDrX2kZfY/hLsdmtCJUphkJHmir/QL4/bbUSaIFu8eaId5p9U5Zl62H\r
153 93bbt/IQal+FDLclApJLvUf82OS4IIaaZtvxZNEAOEPwRsam3UOzsNrQvjEO6+dK\r
154 W+pSvCoapidE8mZxWFLqAJtBDiYKehlDyy7b0LfkQNgEv5DE5vbtfLhWzMDbaPuW\r
155 lQ+6XreRK7KZudtChqc3choWPPFVjaFWqm1YGOZZJVgi75KMWAfI6efChGFPXLSc\r
156 a5pqdotTGYzUu5EF0ltv8KcJHrN8mGkVu7r3SWrxqHvUkAohAfXFcMHGfLOpAgne\r
157 GqfZw4w/eDsr7CHdtBLfwSeJYH8BygPVUKIxdFZ94KLe7u4VhrpQdvD7U+zkJwJq\r
158 zt1BZUnVehKMZW6A9LN0nxhgDziGXOnuGZLgVPpVDCkckW/EmbVFLjxN6uePxwKS\r
159 XpFNisgpnCXWjSmKjZWOM/i5p6dYES3G6qxuFzX8KmcD6jpowJwn9YvQp/e04/dd\r
160 ikJo1T9NYpA1ikBOyiYb\r
161 =X0t6\r
162 -----END PGP SIGNATURE-----\r
163 \r
164 --2xeD/fx0+7k8I/QN--\r