]> git.notmuchmail.org Git - notmuch/commitdiff
Fix configure script to properly detect gmime-2.6 if available.
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 8 Mar 2012 16:45:01 +0000 (08:45 -0800)
committerDavid Bremner <bremner@debian.org>
Sun, 11 Mar 2012 01:39:13 +0000 (21:39 -0400)
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.

configure

index 8b85b9d9f6b11c6253b94f5f8db5ef6547b50070..dedb7d87ccb1530026fe960e6e6a1dddfa33bf38 100755 (executable)
--- a/configure
+++ b/configure
@@ -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