1 Return-Path: <too@guru.guru-group.fi>
\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 00C3F431FC0
\r
6 for <notmuch@notmuchmail.org>; Tue, 20 Mar 2012 15:16:59 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 0NzCwSadWaUZ for <notmuch@notmuchmail.org>;
\r
16 Tue, 20 Mar 2012 15:16:57 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])
\r
18 by olra.theworths.org (Postfix) with ESMTP id A54AA431FAF
\r
19 for <notmuch@notmuchmail.org>; Tue, 20 Mar 2012 15:16:57 -0700 (PDT)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 8D73B68056; Wed, 21 Mar 2012 00:16:55 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH 2/2] configure: print info about required gmime 2.4 or 2.6
\r
26 Date: Wed, 21 Mar 2012 00:16:51 +0200
\r
27 Message-Id: <1332281811-24710-2-git-send-email-tomi.ollila@iki.fi>
\r
28 X-Mailer: git-send-email 1.7.6.1
\r
29 In-Reply-To: <1332281811-24710-1-git-send-email-tomi.ollila@iki.fi>
\r
30 References: <1332281811-24710-1-git-send-email-tomi.ollila@iki.fi>
\r
31 Cc: Tomi Ollila <tomi.ollila@iki.fi>
\r
32 X-BeenThere: notmuch@notmuchmail.org
\r
33 X-Mailman-Version: 2.1.13
\r
35 List-Id: "Use and development of the notmuch mail system."
\r
36 <notmuch.notmuchmail.org>
\r
37 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
38 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
39 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
40 List-Post: <mailto:notmuch@notmuchmail.org>
\r
41 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
42 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
44 X-List-Received-Date: Tue, 20 Mar 2012 22:16:59 -0000
\r
46 In case required gmime (2.4 or 2.6) version if not found print information
\r
47 about both alternatives (and currently minimal 2.6 version that is needed).
\r
50 I'm not entirely happy about the implementation but I would be less happy
\r
51 to write static message that has the same spesific version information in
\r
52 second place (third if comments are counted).
\r
55 1 files changed, 3 insertions(+), 1 deletions(-)
\r
57 diff --git a/configure b/configure
\r
58 index 393f859..43c2436 100755
\r
61 @@ -402,7 +402,9 @@ EOF
\r
62 echo " http://xapian.org/"
\r
64 if [ $have_gmime -eq 0 ]; then
\r
65 - echo " GMime 2.4 library (including development files such as headers)"
\r
66 + _24v=${GMIME_24_VERSION#*2.4} _26v=${GMIME_26_VERSION#*2.6}
\r
67 + echo " Either GMime 2.4 library" $_24v "or GMime 2.6 library" $_26v
\r
68 + echo " (including development files such as headers)"
\r
69 echo " http://spruce.sourceforge.net/gmime/"
\r