aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar Jameson Graef Rollins <jrollins@finestructure.net>2012-03-08 08:45:01 -0800
committerGravatar David Bremner <bremner@debian.org>2012-03-10 21:39:13 -0400
commit4d136995cebb3a339faf844fa3106f398562aad7 (patch)
tree914fda45879d2f55a80c5f5f9823f8799b16c538 /configure
parent353577ad5733b78b71d93c9bdbaae0b062d32331 (diff)
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
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