From: Jameson Graef Rollins Date: Thu, 8 Mar 2012 16:45:01 +0000 (-0800) Subject: Fix configure script to properly detect gmime-2.6 if available. X-Git-Tag: debian/0.12_rc1-1~3 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=4d136995cebb3a339faf844fa3106f398562aad7;p=obsolete%2Fnotmuch-old 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. --- diff --git a/configure b/configure index 8b85b9d9..dedb7d87 100755 --- 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