Re: R bindings for Xapian - Project progress

Olly Betts <[email protected]>
Newsgroups gmane.comp.search.xapian.devel
Message-ID <[email protected]>
On Mon, May 30, 2016 at 04:35:15PM +0100, James Aylett wrote:
> 7. In configure.ac, you should default to xapian-config, not
> xapian-config-1.3; anyone who's using a development version can point
> XAPIAN_CONFIG to the relevant binary. It isn't a huge issue right now
> (since you're not targetting Xapian 1.2), but 1.4 should be out during
> the course of GSoC, and we'll want RXapian to support that without
> people having to do anything special.

It would be better to use the XO_LIB_XAPIAN macro provided by
xapian-core instead of writing your own code to probe for
xapian-config.

Everything from line 3 to line 18 of your current configure.ac could be
replaced with just:

XO_LIB_XAPIAN

If you've installed xapian-core then the macro should just be
found automatically.  If you want to build against an uninstalled
xapian-core, you need to pass -I options to aclocal so it can find the
macro (the top level `bootstrap` does this automatically - at some point
we should probably sort out support for RXapian in there).

Cheers,
    Olly
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.