aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar Adrien Bustany <abustany@gnome.org>2010-04-15 19:41:55 -0400
committerGravatar Carl Worth <cworth@cworth.org>2010-04-21 14:17:14 -0700
commit65b634145a1a114f63b284337de4f0c0f57924a9 (patch)
treef124bbebf5b8c3a1e8c56b8325e25734bf3b448c /configure
parent8981842ff6d39fbf382fedde06ed0d862e9b911e (diff)
configure: Add support for GMime 2.6
Notmuch compiles just fine with GMime 2.6, so accept it in the configure script.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 7f5ca7d1..f69cd925 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