[PATCH 0/4] configure: fix some shellcheck warnings
[notmuch-archives.git] / ab / 27ea6e31eeb7a1140a71e9c4e8b6d22d6deed9
1 Return-Path: <abustany@mymadcat.com>\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 A4E364196F0\r
6         for <notmuch@notmuchmail.org>; Thu, 15 Apr 2010 16:53:00 -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.8\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8]\r
12         autolearn=unavailable\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 b7hSU-wz3oTD for <notmuch@notmuchmail.org>;\r
16         Thu, 15 Apr 2010 16:53:00 -0700 (PDT)\r
17 Received: from mail.mymadcat.com (mymadcat.com [213.251.163.154])\r
18         by olra.theworths.org (Postfix) with ESMTP id 6492A431FC1\r
19         for <notmuch@notmuchmail.org>; Thu, 15 Apr 2010 16:53:00 -0700 (PDT)\r
20 Received: by mail.mymadcat.com (Postfix, from userid 504)\r
21         id 76C4A3DB75; Fri, 16 Apr 2010 01:52:59 +0200 (CEST)\r
22 Received: from localhost (unknown [201.215.30.201])\r
23         by mail.mymadcat.com (Postfix) with ESMTPSA id 4B4AF3DB64;\r
24         Fri, 16 Apr 2010 01:52:58 +0200 (CEST)\r
25 X-Mailbox-Line: From 55a5fe9aac29ae2c7c3d165dd0c3b9fef6460978 Mon Sep 17\r
26         00:00:00 2001\r
27 From: Adrien Bustany <abustany@gnome.org>\r
28 Date: Thu, 15 Apr 2010 19:41:55 -0400\r
29 Subject: [PATCH] configure: Add support for GMime 2.6\r
30 To: notmuch@notmuchmail.org\r
31 Message-Id: <20100415235259.76C4A3DB75@mail.mymadcat.com>\r
32 X-BeenThere: notmuch@notmuchmail.org\r
33 X-Mailman-Version: 2.1.13\r
34 Precedence: list\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: Thu, 15 Apr 2010 23:53:00 -0000\r
45 \r
46 Notmuch compiles just fine with GMime 2.6, so accept it in the configure\r
47 script.\r
48 ---\r
49  configure |    5 +++++\r
50  1 files changed, 5 insertions(+), 0 deletions(-)\r
51 \r
52 diff --git a/configure b/configure\r
53 index eebe075..d4d462f 100755\r
54 --- a/configure\r
55 +++ b/configure\r
56 @@ -188,6 +188,11 @@ if pkg-config --modversion gmime-2.4 > /dev/null 2>&1; then\r
57      have_gmime=1\r
58      gmime_cflags=$(pkg-config --cflags gmime-2.4)\r
59      gmime_ldflags=$(pkg-config --libs gmime-2.4)\r
60 +elif pkg-config --modversion gmime-2.6 > /dev/null 2>&1; then\r
61 +    printf "Yes.\n"\r
62 +    have_gmime=1\r
63 +    gmime_cflags=$(pkg-config --cflags gmime-2.6)\r
64 +    gmime_ldflags=$(pkg-config --libs gmime-2.6)\r
65  else\r
66      printf "No.\n"\r
67      have_gmime=0\r
68 -- \r
69 1.7.0.1\r
70 \r