summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/configure.ac b/doc/configure.ac
index 467e76a6..d52aa174 100644
--- a/doc/configure.ac
+++ b/doc/configure.ac
@@ -24,12 +24,12 @@ AC_ARG_ENABLE([doc],
AS_HELP_STRING([--disable-doc], [Do not generate documentation]),
[generate_doc="$enableval"], [generate_doc=auto])
+AX_PYTHON
+
if test "x$generate_doc" != "xno"; then
AC_PROG_SED
AC_PROG_EGREP
- AX_PYTHON
-
AC_CHECK_PROG(HAVE_DOXYGEN, [doxygen], yes, no)
if test "x$HAVE_DOXYGEN" = "xno" -a "x$generate_doc" = "xyes"; then
AC_MSG_ERROR([*** doxygen package required to generate documentation])