]> git.notmuchmail.org Git - notmuch/blobdiff - configure
configure: Add support for GMime 2.6
[notmuch] / configure
index 7f5ca7d1936243439e253d15029f4ffbc56ff3c5..f69cd9259c531c53efac5893ae878bfcea4cbee2 100755 (executable)
--- 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