<div class="gmail_quote">---------- Forwarded message ----------<br>From: "Timothy Gu" <<a href="mailto:timothygu99@gmail.com">timothygu99@gmail.com</a>><br>Date: Mar 29, 2014 2:47 PM<br>Subject: [PATCH] build: Fix --disable-apidoc configure option<br>
To:  <<a href="mailto:dvdnav-discuss@mplayerhq.hu">dvdnav-discuss@mplayerhq.hu</a>><br>Cc: "Timothy Gu" <<a href="mailto:timothygu99@gmail.com">timothygu99@gmail.com</a>><br><br type="attribution">Signed-off-by: Timothy Gu <<a href="mailto:timothygu99@gmail.com">timothygu99@gmail.com</a>><br>

---<br>
 <a href="http://configure.ac" target="_blank">configure.ac</a> | 4 ++--<br>
 1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/<a href="http://configure.ac" target="_blank">configure.ac</a> b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
index fd2ce0f..2981f1a 100644<br>
--- a/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
+++ b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
@@ -84,7 +84,7 @@ AC_SUBST([CSS_REQUIRES])<br>
 CC_CHECK_CFLAGS_APPEND([-Wall -Wsign-compare])<br>
<br>
<br>
-AC_ARG_ENABLE([doc],<br>
+AC_ARG_ENABLE([apidoc],<br>
   AS_HELP_STRING([--disable-apidoc], [Disable building (with Doxygen) and intalling API documentation @<:@default=auto@:@>]))<br>
<br>
 AC_PATH_PROG([DOXYGEN], [doxygen])<br>
@@ -94,7 +94,7 @@ AS_IF([test "x$DOXYGEN" = "x"], [<br>
     AC_MSG_ERROR([You need Doxygen to build API documentation])<br>
   ])<br>
 ])<br>
-AM_CONDITIONAL([APIDOC], [test "x$DOXYGEN" != "x"])<br>
+AM_CONDITIONAL([APIDOC], [test "x$DOXYGEN" != "x" && test "x$enable_apidoc" = "xyes"])<br>
<br>
 dnl ---------------------------------------------<br>
 dnl Output configuration files<br>
--<br>
1.8.3.2<br>
<br>
</div>