Fix probe for rdoc
commit53d0c3a6d0f66b7476e81cbf3f0fba929a5d50e0
authorOlly Betts <olly@survex.com>
Sat, 2 Dec 2023 20:39:42 +0000 (3 09:39 +1300)
committerOlly Betts <olly@survex.com>
Sat, 2 Dec 2023 20:39:42 +0000 (3 09:39 +1300)
tree2e46489bff26027fa7d79cbf0829ab7b64e41e62
parent54681112cd91dad03227e97b7c508fe5fc773dcb
Fix probe for rdoc

The aim is to try to use the rdoc which matches the Ruby interpreter
found as a default (unless the user has explicitly overridden by
running ./configure RDOC=/path/to/rdoc or similar), but the way that
was being done didn't actually work and this default never kicked in.

This is likely to only be a problem if you're overriding
RUBY=/path/to/ruby but not overriding RDOC as well.

Reported by Vitaly Chikunov on the xapian-devel list.
xapian-bindings/configure.ac