From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A4E364196F0 for ; Thu, 15 Apr 2010 16:53:00 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.8 X-Spam-Level: X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=unavailable 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 b7hSU-wz3oTD for ; Thu, 15 Apr 2010 16:53:00 -0700 (PDT) Received: from mail.mymadcat.com (mymadcat.com [213.251.163.154]) by olra.theworths.org (Postfix) with ESMTP id 6492A431FC1 for ; Thu, 15 Apr 2010 16:53:00 -0700 (PDT) Received: by mail.mymadcat.com (Postfix, from userid 504) id 76C4A3DB75; Fri, 16 Apr 2010 01:52:59 +0200 (CEST) Received: from localhost (unknown [201.215.30.201]) by mail.mymadcat.com (Postfix) with ESMTPSA id 4B4AF3DB64; Fri, 16 Apr 2010 01:52:58 +0200 (CEST) X-Mailbox-Line: From 55a5fe9aac29ae2c7c3d165dd0c3b9fef6460978 Mon Sep 17 00:00:00 2001 From: Adrien Bustany Date: Thu, 15 Apr 2010 19:41:55 -0400 Subject: [PATCH] configure: Add support for GMime 2.6 To: notmuch@notmuchmail.org Message-Id: <20100415235259.76C4A3DB75@mail.mymadcat.com> 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: Thu, 15 Apr 2010 23:53:00 -0000 Notmuch compiles just fine with GMime 2.6, so accept it in the configure script. --- configure | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure b/configure index eebe075..d4d462f 100755 --- a/configure +++ b/configure @@ -188,6 +188,11 @@ if pkg-config --modversion gmime-2.4 > /dev/null 2>&1; then have_gmime=1 gmime_cflags=$(pkg-config --cflags gmime-2.4) gmime_ldflags=$(pkg-config --libs gmime-2.4) +elif pkg-config --modversion gmime-2.6 > /dev/null 2>&1; then + printf "Yes.\n" + have_gmime=1 + gmime_cflags=$(pkg-config --cflags gmime-2.6) + gmime_ldflags=$(pkg-config --libs gmime-2.6) else printf "No.\n" have_gmime=0 -- 1.7.0.1