Commit 7dae0743 authored by Ben Gamari's avatar Ben Gamari 🐢

Verify minimum required version of sphinx-build

CentOS 6.6 includes sphinx-build 0.6.6 which is woefully inadequate to
build the users guide. In particular it fails as it lacks
`sphinx.ext.extlinks`, which was introduced in 1.0.0. Looking at the
changelog it appears that 1.0.0 ought to work.
parent fd63ea56
......@@ -772,6 +772,15 @@ fi
dnl ** check for Sphinx toolchain
AC_CACHE_CHECK([for version of sphinx-build], sphinx_version,
changequote(, )dnl
[if test -n "$SPHINXBUILD"; then
sphinx_version=`"$SPHINXBUILD" --version | sed 's/Sphinx (sphinx-build) \([0-9]\.[0-9]\.[0-9]\)/\1/'`;
changequote([, ])dnl
[AC_MSG_ERROR([Sphinx version 1.0.0 or later is required to build documentation]); SPHINXBUILD=;])
dnl ** check for xelatex
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment