diff options
author | Stephen Finucane <stephen@that.guru> | 2017-01-02 11:47:40 +0000 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-01-04 08:56:20 -0800 |
commit | d84bdc8236801e95e976b65de09ac90b92e37998 (patch) | |
tree | 5485b28205d2602016103e2517fc052d06c765be /m4 | |
parent | f93f0e4a29987f0d5e620e62f0b9b58db12760e6 (diff) | |
download | openvswitch-d84bdc8236801e95e976b65de09ac90b92e37998.tar.gz |
make: Check for Sphinx before checking docs
Signed-off-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/openvswitch.m4 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index a44822319..6515ed7bb 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -400,7 +400,7 @@ else: AM_CONDITIONAL([HAVE_PYTHON3], [test "$HAVE_PYTHON3" = yes])]) -dnl Checks for dot. +dnl Checks for flake8. AC_DEFUN([OVS_CHECK_FLAKE8], [AC_CACHE_CHECK( [for flake8], @@ -412,6 +412,18 @@ AC_DEFUN([OVS_CHECK_FLAKE8], fi]) AM_CONDITIONAL([HAVE_FLAKE8], [test "$ovs_cv_flake8" = yes])]) +dnl Checks for sphinx. +AC_DEFUN([OVS_CHECK_SPHINX], + [AC_CACHE_CHECK( + [for sphinx], + [ovs_cv_sphinx], + [if sphinx-build --version >/dev/null 2>&1; then + ovs_cv_sphinx=yes + else + ovs_cv_sphinx=no + fi]) + AM_CONDITIONAL([HAVE_SPHINX], [test "$ovs_cv_sphinx" = yes])]) + dnl Checks for dot. AC_DEFUN([OVS_CHECK_DOT], [AC_CACHE_CHECK( |