[libdvdnav-devel] Fwd: [PATCH] build: Fix --disable-apidoc configure option
Timothy Gu
timothygu99 at gmail.com
Sun Mar 30 17:22:10 CEST 2014
---------- Forwarded message ----------
From: "Timothy Gu" <timothygu99 at gmail.com>
Date: Mar 29, 2014 2:47 PM
Subject: [PATCH] build: Fix --disable-apidoc configure option
To: <dvdnav-discuss at mplayerhq.hu>
Cc: "Timothy Gu" <timothygu99 at gmail.com>
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index fd2ce0f..2981f1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
--
1.8.3.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libdvdnav-devel/attachments/20140330/d40b40f3/attachment.html>
More information about the libdvdnav-devel
mailing list