X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=ee0ae73750495efbd84eaf28514bc5fe94944d04;hp=8b85b9d9f6b11c6253b94f5f8db5ef6547b50070;hb=82fd8c1a83518c49fa7c7b87c6595156106e1f79;hpb=b44b344595acdfe2a4be9bfb6f3421423c497c97 diff --git a/configure b/configure index 8b85b9d9..ee0ae737 100755 --- 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