Skip to content
Browse files

build: fix error when running `configure --disable-doc`

Signed-off-by: Thomas Haller <thaller@redhat.com>
  • Loading branch information...
1 parent 1a510c5 commit 4c7a3074bbd1a9dc0cb4d6b3566fafe464dcec0b @thom311 committed Jan 29, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/configure.ac
View
4 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])

0 comments on commit 4c7a307

Please sign in to comment.
Something went wrong with that request. Please try again.