From: Antonio Quartulli Date: Fri, 27 Aug 2021 14:48:07 +0000 (+0200) Subject: configure: search also for rst2{man, html}.py X-Git-Tag: v2.5.4~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55f83c9448bf4c36d0b4801e0ef6277952b4a605;p=thirdparty%2Fopenvpn.git configure: search also for rst2{man, html}.py On some systems the rst2{man,html} executables may have a slightly different name, like rst2{man,html}.py. Add this name variation to the Generic Programs check. This specific variation is found on Gentoo Linux. Cc: David Sommerseth Signed-off-by: Antonio Quartulli Acked-by: Gert Doering Message-Id: <20210827144807.27004-1-a@unstable.cc> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22777.html Signed-off-by: Gert Doering (cherry picked from commit b61d1988582feb2e1ed1cf9e62700f484e0bc150) --- diff --git a/configure.ac b/configure.ac index fdd2fd3fd..1f166c0d1 100644 --- a/configure.ac +++ b/configure.ac @@ -376,8 +376,8 @@ AC_DEFINE_UNQUOTED([SYSTEMD_ASK_PASSWORD_PATH], ["$SYSTEMD_ASK_PASSWORD"], [Path # AC_ARG_VAR([RST2MAN], [path to rst2man utility]) AC_ARG_VAR([RST2HTML], [path to rst2html utility]) -AC_CHECK_PROGS([RST2MAN], [rst2man]) -AC_CHECK_PROGS([RST2HTML], [rst2html]) +AC_CHECK_PROGS([RST2MAN], [rst2man rst2man.py]) +AC_CHECK_PROGS([RST2HTML], [rst2html rst2html.py]) AM_CONDITIONAL([HAVE_PYDOCUTILS], [test "${RST2MAN}" -a "${RST2HTML}"]) # Set -std=c99 unless user already specified a -std=