configure: Add support for GMime 2.6

Notmuch compiles just fine with GMime 2.6, so accept it in the configure
script.
This commit is contained in:
Adrien Bustany 2010-04-15 19:41:55 -04:00 committed by Carl Worth
parent 8981842ff6
commit 65b634145a

5
configure vendored
View file

@ -188,6 +188,11 @@ if pkg-config --modversion gmime-2.4 > /dev/null 2>&1; then
have_gmime=1 have_gmime=1
gmime_cflags=$(pkg-config --cflags gmime-2.4) gmime_cflags=$(pkg-config --cflags gmime-2.4)
gmime_ldflags=$(pkg-config --libs 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 else
printf "No.\n" printf "No.\n"
have_gmime=0 have_gmime=0