From c105527ab420f9cb392e39637373236f82e28d75 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Wed, 6 Jan 2016 09:21:57 +0000 Subject: [PATCH] configure.ac: check for 'rst2man' as well as 'rst2man.py'. Fixes bug #133 "rst2man.py depreciated in RHEL7". --- re2c/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re2c/configure.ac b/re2c/configure.ac index e77467e5..2bef2bb7 100644 --- a/re2c/configure.ac +++ b/re2c/configure.ac @@ -18,7 +18,7 @@ AC_SUBST(PACKAGE_RELEASE, ${PACKAGE_RELEASE:-1}) AC_ARG_ENABLE([docs], [AS_HELP_STRING([--enable-docs], [regenerate manpage])]) AM_CONDITIONAL([REBUILD_DOCS], [test "x$enable_docs" = "xyes"]) AM_COND_IF([REBUILD_DOCS], [ - AC_CHECK_PROG(RST2MAN, rst2man.py, yes, no) + AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], no) AS_IF([test "x$RST2MAN" = "xno"], [ AC_MSG_ERROR([need rst2man.py for --enable-docs]) ]) -- 2.40.0