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
1 changed files with 1 additions and 0 deletions

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")