X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=ee0ae73750495efbd84eaf28514bc5fe94944d04;hp=dedb7d87ccb1530026fe960e6e6a1dddfa33bf38;hb=f34613ea833196922a38cf04cd2ee766a562a410;hpb=4d136995cebb3a339faf844fa3106f398562aad7 diff --git a/configure b/configure index dedb7d87..ee0ae737 100755 --- a/configure +++ b/configure @@ -273,9 +273,11 @@ 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