From 9ef872e140e04864d6e8b42f75ba184357b79a05 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Tue, 17 Jul 2018 08:22:23 +0300 Subject: [PATCH] configure.ac: support using both rst2man and rst2man-3 Python3 version of rst2man is called rst2man-3. Signed-off-by: Alexander Bokovoy --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b0bc2b9..26d60ea 100644 --- a/configure.ac +++ b/configure.ac @@ -252,7 +252,7 @@ fi # if docs are not disabled, check if rst2man is available if test $enable_man != "no"; then - AC_CHECK_PROG(have_rst2man, rst2man, yes, no) + AC_CHECK_PROGS(have_rst2man, rst2man-3 rst2man, no) if test $have_rst2man = "no"; then if test $enable_man = "yes"; then AC_MSG_ERROR([rst2man not found: cannot generate man pages, consider installing perl.]) -- 2.17.1