Blame SOURCES/cifs-utils-rst2man-3.patch

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