summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-01-24 11:42:30 -0500
committerBen Gamari <ben@smart-cactus.org>2020-02-14 10:16:36 -0500
commit49be2a3fc5e9f6ca71717cde6889c49dbba816da (patch)
tree85e859ae1e95f31fe5ad93a679326a28c3066c97 /configure.ac
parent97497baeb70c443030e9e0c59abf4930679b4f82 (diff)
downloadhaskell-49be2a3fc5e9f6ca71717cde6889c49dbba816da.tar.gz
configure: Fix sphinx version test
The check for the "v" prefix is redundant.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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
])