configure: Make sphinx-build version test work on recent versions
authorJens Petersen <petersen@redhat.com>
Mon, 28 May 2018 03:31:49 +0000 (12:31 +0900)
committerBen Gamari <ben@smart-cactus.org>
Thu, 31 May 2018 02:05:37 +0000 (22:05 -0400)
commit533d34516c795388d70f34123f14de1845f8b81b
tree7948acd7c4565dfd964ad7ecf80246a4205ef1d9
parent15ece727d0cce777880ec2e3a1b3061f35dfce2c
configure: Make sphinx-build version test work on recent versions

On Fedora: `/usr/libexec/sphinx-build --version` outputs `sphinx-build
1.7.2`.  In bindir we actually have sphinx-build-2 and sphinx-build-3
(python2 and python3 versions), which output `sphinx-build-2 1.7.2` and
`sphinx-build-3 1.7.2` respectively.  Dunno what version others are
using but at least this change should works for most versions I suppose.
configure.ac