diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2018-08-16 23:45:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-16 23:45:14 -0400 |
| commit | ea454ba398edbe831ae47273e35551fd135bf81c (patch) | |
| tree | 740c03f8f78223cc65ef1ea93d4115dd9edf6e96 | |
| parent | 018928cbaa0f302a6b81af1507b0a049b265348c (diff) | |
| parent | 410a249203dc447c4033d627a9cfca0c10aeec73 (diff) | |
Merge pull request #2858 from Jafaral/sphinx
configure.ac: emit a config warning if sphinx-build is missing
| -rwxr-xr-x | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8d18817bd2..96e201cc42 100755 --- a/configure.ac +++ b/configure.ac @@ -1322,6 +1322,7 @@ dnl disable doc check if test "${enable_doc}" = "no";then DOC="" else + AC_CHECK_PROGS([SPHINXBUILD], [sphinx-build sphinx-build3 sphinx-build2], [no]) DOC="doc" fi @@ -2075,3 +2076,8 @@ zebra protobuf enabled : ${have_protobuf:-no} The above user and group must have read/write access to the state file directory and to the config files in the config file directory." + +if test "${enable_doc}" != "no";then + AS_IF([test "x$SPHINXBUILD" = xno], + AC_MSG_WARN(sphinx-build is missing but required to build documentation)) +fi |
