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).
This commit is contained in:
Carl Worth 2010-04-21 14:18:56 -07:00
parent cbcc3454ae
commit 2186cac8e7

2
configure vendored
View file

@ -170,7 +170,7 @@ printf "Checking for Xapian development files... "
have_xapian=0 have_xapian=0
for xapian_config in ${XAPIAN_CONFIG}; do for xapian_config in ${XAPIAN_CONFIG}; do
if ${xapian_config} --version > /dev/null 2>&1; then 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 have_xapian=1
xapian_cxxflags=$(${xapian_config} --cxxflags) xapian_cxxflags=$(${xapian_config} --cxxflags)
xapian_ldflags=$(${xapian_config} --libs) xapian_ldflags=$(${xapian_config} --libs)