configure: Properly handle case where sphinx-build is not available.
Fixes: ("Recommend Sphinx from Python 3 in documentation and packaging.")
Reported-by: Justin Pettit
Acked-by: Justin Pettit
@@ -477,7 +477,7 @@ AC_DEFUN([OVS_CHECK_SPHINX],
[AC_CHECK_PROGS(
[SPHINXBUILD], [sphinx-build-3 sphinx-build-2 sphinx-build], [none])
AC_ARG_VAR([SPHINXBUILD])
- AM_CONDITIONAL([HAVE_SPHINX], [test "$ac_cv_prog_SPHINXBUILD" != none])])
+ AM_CONDITIONAL([HAVE_SPHINX], [test "$SPHINXBUILD" != none])])
dnl Checks for dot.
AC_DEFUN([OVS_CHECK_DOT],
