build: fix error when running configure --disable-doc
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
1a510c57e9
commit
4c7a3074bb
1 changed files with 2 additions and 2 deletions
|
@ -24,12 +24,12 @@ AC_ARG_ENABLE([doc],
|
||||||
AS_HELP_STRING([--disable-doc], [Do not generate documentation]),
|
AS_HELP_STRING([--disable-doc], [Do not generate documentation]),
|
||||||
[generate_doc="$enableval"], [generate_doc=auto])
|
[generate_doc="$enableval"], [generate_doc=auto])
|
||||||
|
|
||||||
|
AX_PYTHON
|
||||||
|
|
||||||
if test "x$generate_doc" != "xno"; then
|
if test "x$generate_doc" != "xno"; then
|
||||||
AC_PROG_SED
|
AC_PROG_SED
|
||||||
AC_PROG_EGREP
|
AC_PROG_EGREP
|
||||||
|
|
||||||
AX_PYTHON
|
|
||||||
|
|
||||||
AC_CHECK_PROG(HAVE_DOXYGEN, [doxygen], yes, no)
|
AC_CHECK_PROG(HAVE_DOXYGEN, [doxygen], yes, no)
|
||||||
if test "x$HAVE_DOXYGEN" = "xno" -a "x$generate_doc" = "xyes"; then
|
if test "x$HAVE_DOXYGEN" = "xno" -a "x$generate_doc" = "xyes"; then
|
||||||
AC_MSG_ERROR([*** doxygen package required to generate documentation])
|
AC_MSG_ERROR([*** doxygen package required to generate documentation])
|
||||||
|
|
Loading…
Add table
Reference in a new issue