3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-20 04:09:41 +01:00

build: Also check for rst2man.py if rst2man is not found

This commit is contained in:
Marcel Holtmann 2019-09-24 15:54:50 +02:00
parent 765bb92084
commit 4f58c557f3

View File

@ -192,7 +192,7 @@ AC_ARG_ENABLE([manual-pages], AC_HELP_STRING([--disable-manual-pages],
[don't install manual pages]), [don't install manual pages]),
[enable_manual_pages=${enableval}]) [enable_manual_pages=${enableval}])
if (test "${manual_pages}" != "no"); then if (test "${manual_pages}" != "no"); then
AC_CHECK_PROGS(RST2MAN, [rst2man rst2man-3], "no") AC_CHECK_PROGS(RST2MAN, [rst2man rst2man-3 rst2man.py], "no")
if (test "x$RST2MAN" = "xno"); then if (test "x$RST2MAN" = "xno"); then
AC_MSG_WARN([rst2man required for building manual pages]) AC_MSG_WARN([rst2man required for building manual pages])
fi fi