[PATCH] configure: Add support for GMime 2.6
Adrien Bustany
abustany at gnome.org
Thu Apr 15 16:41:55 PDT 2010
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
More information about the notmuch
mailing list