summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-01-29 18:13:35 +0100
committerThomas Haller <thaller@redhat.com>2014-01-29 18:13:35 +0100
commit4c7a3074bbd1a9dc0cb4d6b3566fafe464dcec0b (patch)
treedebf59a6459997c9396afd861a71a49dc2c6bf70 /doc
parent1a510c57e905c4beb06122b9688162c82d9b044f (diff)
downloadlibnl-4c7a3074bbd1a9dc0cb4d6b3566fafe464dcec0b.tar.gz
build: fix error when running `configure --disable-doc`
Signed-off-by: Thomas Haller <thaller@redhat.com>
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])