]> git.notmuchmail.org Git - notmuch/blobdiff - configure
debian: add changelog stanza for 0.12
[notmuch] / configure
index 8b85b9d9f6b11c6253b94f5f8db5ef6547b50070..ee0ae73750495efbd84eaf28514bc5fe94944d04 100755 (executable)
--- a/configure
+++ b/configure
@@ -273,14 +273,17 @@ if [ ${have_xapian} = "0" ]; then
     errors=$((errors + 1))
 fi
 
+# If using GMime 2.6, we need to have a version >= 2.6.5 to avoid a
+# crypto bug. We need 2.6.7 for permissive "From " header handling.
 printf "Checking for GMime development files... "
 have_gmime=0
-for gmimepc in gmime-2.6 gmime-2.4; do
+for gmimepc in 'gmime-2.6 >= 2.6.7' gmime-2.4; do
     if pkg-config --exists $gmimepc; then
        printf "Yes ($gmimepc).\n"
        have_gmime=1
        gmime_cflags=$(pkg-config --cflags $gmimepc)
        gmime_ldflags=$(pkg-config --libs $gmimepc)
+       break
     fi
 done
 if [ "$have_gmime" = "0" ]; then