--- /dev/null
+Return-Path: <pieter@praet.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 00A6B431FBD\r
+ for <notmuch@notmuchmail.org>; Fri, 3 Feb 2012 04:14:36 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id lP97+uX47xE7 for <notmuch@notmuchmail.org>;\r
+ Fri, 3 Feb 2012 04:14:34 -0800 (PST)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+ [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 71847431FC2\r
+ for <notmuch@notmuchmail.org>; Fri, 3 Feb 2012 04:14:34 -0800 (PST)\r
+Received: by werb10 with SMTP id b10so3004325wer.26\r
+ for <notmuch@notmuchmail.org>; Fri, 03 Feb 2012 04:14:31 -0800 (PST)\r
+Received: by 10.216.135.169 with SMTP id u41mr2846516wei.13.1328271271841;\r
+ Fri, 03 Feb 2012 04:14:31 -0800 (PST)\r
+Received: from localhost ([109.131.13.166])\r
+ by mx.google.com with ESMTPS id g6sm11776308wig.9.2012.02.03.04.14.31\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Fri, 03 Feb 2012 04:14:31 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: datapipe@gmail.com\r
+Subject: [PATCH] configure: update explicit check for glib : >= 2.22\r
+Date: Fri, 3 Feb 2012 13:12:25 +0100\r
+Message-Id: <1328271145-5634-1-git-send-email-pieter@praet.org>\r
+X-Mailer: git-send-email 1.7.8.1\r
+In-Reply-To:\r
+ <alpine.DEB.2.02.1201132130220.21970@ltspubuntu4.int.smq.datapipe.net>\r
+References:\r
+ <alpine.DEB.2.02.1201132130220.21970@ltspubuntu4.int.smq.datapipe.net>\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 03 Feb 2012 12:14:36 -0000\r
+\r
+As of commit b3caef1f, we're using g_array_unref() in 'lib/query.cc',\r
+which was only introduced in glib 2.22, so update the dependency.\r
+\r
+Thanks to datapipe@gmail.com for reporting this [1].\r
+\r
+Also see commit b88e6abc.\r
+\r
+[1] id:"alpine.DEB.2.02.1201132130220.21970@ltspubuntu4.int.smq.datapipe.net"\r
+---\r
+ configure | 8 ++++----\r
+ 1 files changed, 4 insertions(+), 4 deletions(-)\r
+\r
+diff --git a/configure b/configure\r
+index e90b76f..8b85b9d 100755\r
+--- a/configure\r
++++ b/configure\r
+@@ -289,10 +289,10 @@ if [ "$have_gmime" = "0" ]; then\r
+ fi\r
+ \r
+ # GMime already depends on Glib >= 2.12, but we use at least one Glib\r
+-# function that only exists as of 2.14, (g_hash_table_get_keys)\r
+-printf "Checking for Glib development files (>= 2.14)... "\r
++# function that only exists as of 2.22, (g_array_unref)\r
++printf "Checking for Glib development files (>= 2.22)... "\r
+ have_glib=0\r
+-if pkg-config --exists 'glib-2.0 >= 2.14'; then\r
++if pkg-config --exists 'glib-2.0 >= 2.22'; then\r
+ printf "Yes.\n"\r
+ have_glib=1\r
+ glib_cflags=$(pkg-config --cflags glib-2.0)\r
+@@ -416,7 +416,7 @@ EOF\r
+ echo " http://spruce.sourceforge.net/gmime/"\r
+ fi\r
+ if [ $have_glib -eq 0 ]; then\r
+- echo " Glib library >= 2.14 (including development files such as headers)"\r
++ echo " Glib library >= 2.22 (including development files such as headers)"\r
+ echo " http://ftp.gnome.org/pub/gnome/sources/glib/"\r
+ fi\r
+ if [ $have_talloc -eq 0 ]; then\r
+-- \r
+1.7.8.1\r
+\r