configure: Print version of Xapian found during configure check.
authorCarl Worth <cworth@cworth.org>
Wed, 21 Apr 2010 21:18:56 +0000 (14:18 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Apr 2010 21:18:56 +0000 (14:18 -0700)
This might be handy to know, (since there are important performance
considerations that depend on the Xapian version).

configure

index 095a476e55faf256c5847a809f7d542146639a29..ec8c3fd361cb9061197dc29ab326a142a1d65ad9 100755 (executable)
--- 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
 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)
        have_xapian=1
        xapian_cxxflags=$(${xapian_config} --cxxflags)
        xapian_ldflags=$(${xapian_config} --libs)