1 Return-Path: <jrollins@finestructure.net>
\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 620AF431FB6
\r
6 for <notmuch@notmuchmail.org>; Thu, 8 Mar 2012 08:45:10 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 EUMv6RU-RuyR for <notmuch@notmuchmail.org>;
\r
16 Thu, 8 Mar 2012 08:45:10 -0800 (PST)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 00207431FAE
\r
20 for <notmuch@notmuchmail.org>; Thu, 8 Mar 2012 08:45:09 -0800 (PST)
\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by earth-doxen-postvirus (Postfix) with ESMTP id 7569B66E0226
\r
23 for <notmuch@notmuchmail.org>; Thu, 8 Mar 2012 08:45:07 -0800 (PST)
\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new
\r
25 Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com
\r
26 [76.174.137.84]) (Authenticated sender: jrollins)
\r
27 by earth-doxen-submit (Postfix) with ESMTP id A94A066E021B
\r
28 for <notmuch@notmuchmail.org>; Thu, 8 Mar 2012 08:45:02 -0800 (PST)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 4306A998; Thu, 8 Mar 2012 08:45:01 -0800 (PST)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
33 Subject: [PATCH] Fix configure script to properly detect gmime-2.6 if
\r
35 Date: Thu, 8 Mar 2012 08:45:01 -0800
\r
36 Message-Id: <1331225101-24385-1-git-send-email-jrollins@finestructure.net>
\r
37 X-Mailer: git-send-email 1.7.9.1
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Thu, 08 Mar 2012 16:45:10 -0000
\r
52 Previously, the configure script would appear to detect gmime-2.6 if
\r
53 present. However, the binaries would end up being compiled against
\r
54 gmime-2.4. The addition of a break fixes things so that now gmime-2.6
\r
55 will be used if available, falling back to gmime-2.4.
\r
57 I was wondering why I wasn't seeing any of the problems bremner is
\r
58 reporting, even though I thought I had been using gmime-2.6 for the
\r
59 last month. Apparently I had actually been using gmime-2.4 because of
\r
60 this bug in the configure script. Linking will now be correct after
\r
64 1 files changed, 1 insertions(+), 0 deletions(-)
\r
66 diff --git a/configure b/configure
\r
67 index 8b85b9d..dedb7d8 100755
\r
70 @@ -281,6 +281,7 @@ for gmimepc in gmime-2.6 gmime-2.4; do
\r
72 gmime_cflags=$(pkg-config --cflags $gmimepc)
\r
73 gmime_ldflags=$(pkg-config --libs $gmimepc)
\r
77 if [ "$have_gmime" = "0" ]; then
\r