From 4d136995cebb3a339faf844fa3106f398562aad7 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Thu, 8 Mar 2012 08:45:01 -0800 Subject: [PATCH] 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. --- configure | 1 + 1 file changed, 1 insertion(+) 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 -- 2.43.0