[PATCH] configure: Add support for GMime 2.6

Subject: [PATCH] configure: Add support for GMime 2.6

Date: Thu, 15 Apr 2010 19:41:55 -0400

To: notmuch@notmuchmail.org

Cc:

From: Adrien Bustany


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


Thread: