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 <davids@openvpn.net>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
(cherry picked from commit b61d1988582feb2e1ed1cf9e62700f484e0bc150)
| ... | ... |
@@ -376,8 +376,8 @@ AC_DEFINE_UNQUOTED([SYSTEMD_ASK_PASSWORD_PATH], ["$SYSTEMD_ASK_PASSWORD"], [Path |
| 376 | 376 |
# |
| 377 | 377 |
AC_ARG_VAR([RST2MAN], [path to rst2man utility]) |
| 378 | 378 |
AC_ARG_VAR([RST2HTML], [path to rst2html utility]) |
| 379 |
-AC_CHECK_PROGS([RST2MAN], [rst2man]) |
|
| 380 |
-AC_CHECK_PROGS([RST2HTML], [rst2html]) |
|
| 379 |
+AC_CHECK_PROGS([RST2MAN], [rst2man rst2man.py]) |
|
| 380 |
+AC_CHECK_PROGS([RST2HTML], [rst2html rst2html.py]) |
|
| 381 | 381 |
AM_CONDITIONAL([HAVE_PYDOCUTILS], [test "${RST2MAN}" -a "${RST2HTML}"])
|
| 382 | 382 |
|
| 383 | 383 |
# Set -std=c99 unless user already specified a -std= |