[ovs-dev] [PATCH] configure: Properly handle case where sphinx-build is not available.

Ben Pfaff blp at ovn.org
Fri Sep 20 19:00:16 UTC 2019


Reported-by: Justin Pettit <jpettit at ovn.org>
Fixes: ab4514890587 ("Recommend Sphinx from Python 3 in documentation and packaging.")
Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 m4/openvswitch.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index 50edd555052e..78d70fb4e17e 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -414,7 +414,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],
-- 
2.21.0



More information about the dev mailing list