From: Adrien Bustany Date: Thu, 15 Apr 2010 23:41:55 +0000 (-0400) Subject: configure: Add support for GMime 2.6 X-Git-Tag: 0.3~134 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=65b634145a1a114f63b284337de4f0c0f57924a9;hp=8981842ff6d39fbf382fedde06ed0d862e9b911e configure: Add support for GMime 2.6 Notmuch compiles just fine with GMime 2.6, so accept it in the configure script. --- 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