mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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:
parent
353577ad57
commit
4d136995ce
1 changed files with 1 additions and 0 deletions
1
configure
vendored
1
configure
vendored
|
@ -281,6 +281,7 @@ for gmimepc in gmime-2.6 gmime-2.4; do
|
|||
have_gmime=1
|
||||
gmime_cflags=$(pkg-config --cflags $gmimepc)
|
||||
gmime_ldflags=$(pkg-config --libs $gmimepc)
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ "$have_gmime" = "0" ]; then
|
||||
|
|
Loading…
Reference in a new issue