Commit 86166870 authored by Timothy Gu's avatar Timothy Gu Committed by Jean-Baptiste Kempf

build: Fix --disable-apidoc configure option

Signed-off-by: default avatarTimothy Gu <timothygu99@gmail.com>
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7c743650
......@@ -84,7 +84,7 @@ AC_SUBST([CSS_REQUIRES])
CC_CHECK_CFLAGS_APPEND([-Wall -Wsign-compare])
AC_ARG_ENABLE([doc],
AC_ARG_ENABLE([apidoc],
AS_HELP_STRING([--disable-apidoc], [Disable building (with Doxygen) and intalling API documentation @<:@default=auto@:@>]))
AC_PATH_PROG([DOXYGEN], [doxygen])
......@@ -94,7 +94,7 @@ AS_IF([test "x$DOXYGEN" = "x"], [
AC_MSG_ERROR([You need Doxygen to build API documentation])
])
])
AM_CONDITIONAL([APIDOC], [test "x$DOXYGEN" != "x"])
AM_CONDITIONAL([APIDOC], [test "x$DOXYGEN" != "x" && test "x$enable_apidoc" = "xyes"])
dnl ---------------------------------------------
dnl Output configuration files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment