configure.ac: Only require man when both generating docs and testing

This commit is contained in:
Robert Hensing 2024-10-23 20:38:36 +02:00
parent 73b91406a3
commit 90ccfb7c17

View File

@ -171,7 +171,7 @@ AS_IF(
[NEED_PROG(jq, jq)]) [NEED_PROG(jq, jq)])
AS_IF( AS_IF(
[test "$ENABLE_DOC_GEN" == "yes"], [test "$ENABLE_DOC_GEN" == "yes" && test "$ENABLE_FUNCTIONAL_TESTS" == "yes"],
[NEED_PROG(man, man)]) [NEED_PROG(man, man)])
AS_IF([test "$ENABLE_BUILD" == "yes"],[ AS_IF([test "$ENABLE_BUILD" == "yes"],[