[master] 32c3a06f2 Hunt for py-specific variants of sphinx-build program

Poul-Henning Kamp phk at FreeBSD.org
Thu Oct 11 14:10:10 UTC 2018


commit 32c3a06f2271d1e63efb988db478cca9f3f7e063
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Oct 11 14:08:51 2018 +0000

    Hunt for py-specific variants of sphinx-build program

diff --git a/configure.ac b/configure.ac
index 204519b3b..916ca80f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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.])


More information about the varnish-commit mailing list