From: Ulya Trofimovich Date: Wed, 6 Jan 2016 09:21:57 +0000 (+0000) Subject: configure.ac: check for 'rst2man' as well as 'rst2man.py'. X-Git-Tag: 0.16~1^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c105527ab420f9cb392e39637373236f82e28d75;p=re2c configure.ac: check for 'rst2man' as well as 'rst2man.py'. Fixes bug #133 "rst2man.py depreciated in RHEL7". --- 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]) ])