This might be handy to know, (since there are important performance
considerations that depend on the Xapian version).
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)