From 49be2a3fc5e9f6ca71717cde6889c49dbba816da Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Fri, 24 Jan 2020 11:42:30 -0500 Subject: configure: Fix sphinx version test The check for the "v" prefix is redundant. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index da0eb23fad..419f002c5e 100644 --- a/configure.ac +++ b/configure.ac @@ -836,7 +836,7 @@ AC_PATH_PROG(SPHINXBUILD,sphinx-build) AC_CACHE_CHECK([for version of sphinx-build], fp_cv_sphinx_version, changequote(, )dnl [if test -n "$SPHINXBUILD"; then - fp_cv_sphinx_version=`"$SPHINXBUILD" --version 2>&1 | sed 's/.* v\?\([0-9]\.[0-9]\.[0-9]\)/\1/' | head -n1`; + fp_cv_sphinx_version=`"$SPHINXBUILD" --version 2>&1 | sed 's/.* \([0-9]\.[0-9]\.[0-9]\)/\1/' | head -n1`; fi; changequote([, ])dnl ]) -- cgit v1.2.1