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