[PATCH 2/2] configure: print info about required gmime 2.4 or 2.6 versions
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 20 Mar 2012 22:16:51 +0000 (00:16 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:38 +0000 (09:45 -0800)
1e/c36980a6fe38911990839f19dcd816f5d6bb4b [new file with mode: 0644]

diff --git a/1e/c36980a6fe38911990839f19dcd816f5d6bb4b b/1e/c36980a6fe38911990839f19dcd816f5d6bb4b
new file mode 100644 (file)
index 0000000..225ece7
--- /dev/null
@@ -0,0 +1,74 @@
+Return-Path: <too@guru.guru-group.fi>\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 00C3F431FC0\r
+       for <notmuch@notmuchmail.org>; Tue, 20 Mar 2012 15:16:59 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 0NzCwSadWaUZ for <notmuch@notmuchmail.org>;\r
+       Tue, 20 Mar 2012 15:16:57 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
+       by olra.theworths.org (Postfix) with ESMTP id A54AA431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 20 Mar 2012 15:16:57 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+       id 8D73B68056; Wed, 21 Mar 2012 00:16:55 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 2/2] configure: print info about required gmime 2.4 or 2.6\r
+       versions\r
+Date: Wed, 21 Mar 2012 00:16:51 +0200\r
+Message-Id: <1332281811-24710-2-git-send-email-tomi.ollila@iki.fi>\r
+X-Mailer: git-send-email 1.7.6.1\r
+In-Reply-To: <1332281811-24710-1-git-send-email-tomi.ollila@iki.fi>\r
+References: <1332281811-24710-1-git-send-email-tomi.ollila@iki.fi>\r
+Cc: Tomi Ollila <tomi.ollila@iki.fi>\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: Tue, 20 Mar 2012 22:16:59 -0000\r
+\r
+In case required gmime (2.4 or 2.6) version if not found print information\r
+about both alternatives (and currently minimal 2.6 version that is needed).\r
+---\r
+\r
+I'm not entirely happy about the implementation but I would be less happy\r
+to write static message that has the same spesific version information in\r
+second place (third if comments are counted).\r
+\r
+ configure |    4 +++-\r
+ 1 files changed, 3 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/configure b/configure\r
+index 393f859..43c2436 100755\r
+--- a/configure\r
++++ b/configure\r
+@@ -402,7 +402,9 @@ EOF\r
+       echo "  http://xapian.org/"\r
+     fi\r
+     if [ $have_gmime -eq 0 ]; then\r
+-      echo "  GMime 2.4 library (including development files such as headers)"\r
++      _24v=${GMIME_24_VERSION#*2.4} _26v=${GMIME_26_VERSION#*2.6}\r
++      echo "  Either GMime 2.4 library" $_24v "or GMime 2.6 library" $_26v\r
++      echo "  (including development files such as headers)"\r
+       echo "  http://spruce.sourceforge.net/gmime/"\r
+       echo\r
+     fi\r
+-- \r
+1.7.8.2\r
+\r