unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] Fix configure script to properly detect gmime-2.6 if available.
@ 2012-03-08 16:45 Jameson Graef Rollins
  2012-03-10 17:54 ` [PATCH] Allow selecting which version of gmime is used to build notmuch Tom Prince
  2012-03-11  1:48 ` [PATCH] Fix configure script to properly detect gmime-2.6 if available David Bremner
  0 siblings, 2 replies; 7+ messages in thread
From: Jameson Graef Rollins @ 2012-03-08 16:45 UTC (permalink / raw)
  To: Notmuch Mail

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.
---
I was wondering why I wasn't seeing any of the problems bremner is
reporting, even though I thought I had been using gmime-2.6 for the
last month.  Apparently I had actually been using gmime-2.4 because of
this bug in the configure script.  Linking will now be correct after
reconfigure.

 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 8b85b9d..dedb7d8 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
-- 
1.7.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-20 11:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-08 16:45 [PATCH] Fix configure script to properly detect gmime-2.6 if available Jameson Graef Rollins
2012-03-10 17:54 ` [PATCH] Allow selecting which version of gmime is used to build notmuch Tom Prince
2012-03-14 14:59   ` [PATCH 1/2] configure: store $IFS to $DEFAULT_IFS readonly variable Tomi Ollila
2012-03-14 15:00     ` [PATCH 2/2] Allow selecting which version of gmime is used to build notmuch Tomi Ollila
2012-03-18 13:31     ` [PATCH 1/2] configure: store $IFS to $DEFAULT_IFS readonly variable David Bremner
2012-03-20 11:19     ` David Bremner
2012-03-11  1:48 ` [PATCH] Fix configure script to properly detect gmime-2.6 if available David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).