From: Carl Worth <cworth@cworth.org>
Date: Wed, 21 Apr 2010 21:18:56 +0000 (-0700)
Subject: configure: Print version of Xapian found during configure check.
X-Git-Tag: 0.3~132
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=2186cac8e7bbc07c6aba0e1fbea91ca789814ecd;p=obsolete%2Fnotmuch-old

configure: Print version of Xapian found during configure check.

This might be handy to know, (since there are important performance
considerations that depend on the Xapian version).
---

diff --git a/configure b/configure
index 095a476e..ec8c3fd3 100755
--- a/configure
+++ b/configure
@@ -170,7 +170,7 @@ printf "Checking for Xapian development files... "
 have_xapian=0
 for xapian_config in ${XAPIAN_CONFIG}; do
     if ${xapian_config} --version > /dev/null 2>&1; then
-	printf "Yes.\n"
+	printf "Yes (%s).\n" $(${xapian_config} --version | sed -e 's/.* //')
 	have_xapian=1
 	xapian_cxxflags=$(${xapian_config} --cxxflags)
 	xapian_ldflags=$(${xapian_config} --libs)