[libdvdnav-devel] Fwd: [PATCH] build: Fix --disable-apidoc configure option

Jean-Baptiste Kempf jb at videolan.org
Sun Mar 30 19:24:20 CEST 2014


Applied.

Le 30/03/2014 17:22, Timothy Gu a écrit :
> ---------- Forwarded message ----------
> From: "Timothy Gu" <timothygu99 at gmail.com <mailto: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 <mailto:dvdnav-discuss at mplayerhq.hu>>
> Cc: "Timothy Gu" <timothygu99 at gmail.com <mailto:timothygu99 at gmail.com>>
>
> Signed-off-by: Timothy Gu <timothygu99 at gmail.com
> <mailto:timothygu99 at gmail.com>>
> ---
> configure.ac <http://configure.ac> | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac <http://configure.ac> b/configure.ac
> <http://configure.ac>
> index fd2ce0f..2981f1a 100644
> --- a/configure.ac <http://configure.ac>
> +++ b/configure.ac <http://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
>
>
>
> _______________________________________________
> libdvdnav-devel mailing list
> libdvdnav-devel at videolan.org
> https://mailman.videolan.org/listinfo/libdvdnav-devel
>


-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdnav-devel mailing list