[master] e8276b9a7 Also look for versioned rst2man scripts

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


commit e8276b9a747e2d222cfa75507fb2440f1162de22
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Oct 11 14:26:02 2018 +0000

    Also look for versioned rst2man scripts

diff --git a/configure.ac b/configure.ac
index 916ca80f1..804da7992 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,9 @@ AC_PROG_INSTALL
 AC_ARG_WITH([rst2man],
   AS_HELP_STRING([--with-rst2man=PATH], [Location of rst2man (auto)]),
   [RST2MAN="$withval"],
-  AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], [no]))
+  AC_CHECK_PROGS(RST2MAN,
+    [rst2man rst2man.py rst2man-3.6 rst2man-2.7],
+    [no]))
 if test "x$RST2MAN" = "xno"; then
   AC_MSG_ERROR(
     [rst2man is needed to build Varnish, please install python-docutils.])


More information about the varnish-commit mailing list