configure: Check GMime version properly

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
Daniel Kahn Gillmor 2020-03-18 04:02:50 -04:00 committed by David Bremner
parent 018ad3703b
commit 13f2027101

2
configure vendored
View file

@ -513,7 +513,7 @@ fi
GMIME_MINVER=3.0.3
printf "Checking for GMime development files... "
if pkg-config --exists "gmime-3.0 > $GMIME_MINVER"; then
if pkg-config --exists "gmime-3.0 >= $GMIME_MINVER"; then
printf "Yes.\n"
have_gmime=1
gmime_cflags=$(pkg-config --cflags gmime-3.0)