Use bzip2 --help rather than --version to check bzip2 is available.


git-svn-id: file:///home/xapian-svn/xapian/trunk@18006 6b2f1b92-a4f3-0310-943f-de3cbe41748b
query.cc: Removed unused inline function.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18007 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/matchspy.cc: Pass std::string by const reference.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18008 6b2f1b92-a4f3-0310-943f-de3cbe41748b
date.cc,scriptindex.cc: Pass std::string by const reference.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18009 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Apply patches to libtool for hurd, x32 and ppc64el support.


git-svn-id: file:///home/xapian-svn/xapian/trunk@18018 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Merge remote-tracking branch 'xapian/master' into UnigramLMWeight
api/omdatabase.cc,backends/brass/brass_postlist.h,
backends/chert/chert_postlist.h,backends/database.h: Fix comment
typos.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18019 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/Makefile.mk,api/snipper.cc,api/snipperinternal.h,
include/xapian.h,include/xapian/snipper.h: Add Xapian::Snipper
class.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18020 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/snipper.cc: Add missing #include <config.h>.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18021 6b2f1b92-a4f3-0310-943f-de3cbe41748b
tests/api_snipper.cc: Add Snipper API tests.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18022 6b2f1b92-a4f3-0310-943f-de3cbe41748b
tests/Makefile.am: Hook up new Snipper API tests to actually be
used.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18023 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/snipper.cc,api/snipperinternal.h,include/xapian/snipper.h: Fix
typos in comments and variable names in new snipper code.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18024 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/snipper.cc: Use TermIterator::positionlist_count().

git-svn-id: file:///home/xapian-svn/xapian/trunk@18025 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/snipper.cc: Prefer ++i to i++ in loops.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18026 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/snipper.cc: Avoid unnecessary substr operations.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18027 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/snipper.cc: Eliminate ret_value variable.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18028 6b2f1b92-a4f3-0310-943f-de3cbe41748b
tests/api_snipper.cc: Drop unused <algorithm>.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18029 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/snipper.cc: Use clear() method to empty a container.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18030 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/snipper.cc,api/snipperinternal.h: Just pass rm_docno through to
Snipper::Internal::calculate_rm() as a parameter rather than storing
it in a member variable.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18031 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/snipper.cc,api/snipperinternal.h,include/xapian/snipper.h:
Rework Snipper methods set_smoothing_coef() and set_window_size() as
optional parameters of generate_snippet().

git-svn-id: file:///home/xapian-svn/xapian/trunk@18032 6b2f1b92-a4f3-0310-943f-de3cbe41748b