From a166c162f7cfe4a776564a8982a1c2ac4af41973 Mon Sep 17 00:00:00 2001 From: "Blake J. Harnden" Date: Mon, 15 Jan 2018 01:27:10 -0800 Subject: [PATCH] fixed #136, added check for sphinx-apidoc to configure.ac --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index eba5ab93..351e7223 100644 --- a/configure.ac +++ b/configure.ac @@ -172,6 +172,12 @@ else want_docs=no fi +# check for sphinx required during make +AC_CHECK_PROG(sphinxapi_path, sphinx-apidoc, $as_dir, no, $SEARCHPATH) +if test "x$sphinxapi_path" = "xno" ; then + AC_MSG_ERROR(["Could not location sphinx-apidoc, from the python-sphinx package"]) +fi + #AC_PATH_PROGS(tcl_path, [tclsh tclsh8.5 tclsh8.4], no) #if test "x$tcl_path" = "xno" ; then # AC_MSG_ERROR([Could not locate tclsh. Please install Tcl/Tk.])