summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2019-09-20 12:00:13 -0700
committerBen Pfaff <blp@ovn.org>2019-09-20 17:38:22 -0700
commit40053bd466c8b910c74103579ef12618292abb3b (patch)
treec7b1911a7db2f36b17040a39430cdb3f0df176d3 /m4
parent4dcdf55bc4b14f02d1409bf128714df00bf0f253 (diff)
downloadopenvswitch-40053bd466c8b910c74103579ef12618292abb3b.tar.gz
configure: Properly handle case where sphinx-build is not available.
Fixes: ab4514890587 ("Recommend Sphinx from Python 3 in documentation and packaging.") Reported-by: Justin Pettit <jpettit@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/openvswitch.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index 4379d16b4..ba912e587 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -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],