3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-27 19:22:34 +01:00

build: Don't create manual pages if rst2man is not found

This commit is contained in:
Marcel Holtmann 2019-10-03 09:46:53 +02:00
parent c4ecf96942
commit 69583191de

View File

@ -194,6 +194,7 @@ if (test "${enable_manual_pages}" != "no"); then
AC_CHECK_PROGS(RST2MAN, [rst2man rst2man-3 rst2man.py], "no")
if (test "x$RST2MAN" = "xno"); then
AC_MSG_WARN([rst2man required for building manual pages])
enable_manual_pages="no"
fi
fi
AM_CONDITIONAL(MANUAL_PAGES, test "${enable_manual_pages}" != "no")