Fix configure script to properly detect gmime-2.6 if available.

Previously, the configure script would appear to detect gmime-2.6 if
present.  However, the binaries would end up being compiled against
gmime-2.4.  The addition of a break fixes things so that now gmime-2.6
will be used if available, falling back to gmime-2.4.
This commit is contained in:
Jameson Graef Rollins 2012-03-08 08:45:01 -08:00 committed by David Bremner
parent 353577ad57
commit 4d136995ce

1
configure vendored
View file

@ -281,6 +281,7 @@ for gmimepc in gmime-2.6 gmime-2.4; do
have_gmime=1 have_gmime=1
gmime_cflags=$(pkg-config --cflags $gmimepc) gmime_cflags=$(pkg-config --cflags $gmimepc)
gmime_ldflags=$(pkg-config --libs $gmimepc) gmime_ldflags=$(pkg-config --libs $gmimepc)
break
fi fi
done done
if [ "$have_gmime" = "0" ]; then if [ "$have_gmime" = "0" ]; then