Commit 32c3a06f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Hunt for py-specific variants of sphinx-build program

parent 62c75f7d
......@@ -49,7 +49,9 @@ fi
AC_ARG_WITH([sphinx-build],
AS_HELP_STRING([--with-sphinx-build=PATH], [Location of sphinx-build (auto)]),
[SPHINX="$withval"],
AC_CHECK_PROGS(SPHINX, [sphinx-build], [no]))
AC_CHECK_PROGS(SPHINX,
[sphinx-build sphinx-build-3.6 sphinx-build-2.7],
[no]))
if test "x$SPHINX" = "xno"; then
AC_MSG_ERROR(
[sphinx-build is needed to build Varnish, please install python-sphinx.])
......
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