diff --git a/configure.ac b/configure.ac index fc59904f358..76e1c2bb71b 100644 --- a/configure.ac +++ b/configure.ac @@ -171,7 +171,7 @@ AS_IF( [NEED_PROG(jq, jq)]) AS_IF( - [test "$ENABLE_DOC_GEN" == "yes"], + [test "$ENABLE_DOC_GEN" == "yes" && test "$ENABLE_FUNCTIONAL_TESTS" == "yes"], [NEED_PROG(man, man)]) AS_IF([test "$ENABLE_BUILD" == "yes"],[