[vlc-devel] [vlc-commits] Add HAVE_ANDROID define.

Rémi Denis-Courmont remi at remlab.net
Thu Feb 24 08:35:49 CET 2011


Why the heck is this an --enable flag? That is a total denial of AUTOconf.

----- Message d'origine -----
> vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Feb 23
> 23:00:47 2011 +0100| [7d3c30f9391b39cbca79325803dcad559b0777da] | committer:
> Rémi Duraffort
>
> Add HAVE_ANDROID define.
>
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d3c30f9391b39cbca79325803dcad559b0777da
> ---
>
>  configure.ac |    10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index e587908..58d51d5 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3995,6 +3995,16 @@ fi
>  EXTEND_HELP_STRING([Misc options:])
> 
>  dnl
> +dnl compiling for android?
> +dnl
> +
> +AC_ARG_ENABLE(android,
> +  [  --enable-android            compile for android (default disable)])
> +AS_IF([test "${enable_android}" = "yes"], [
> +  AC_DEFINE([HAVE_ANDROID], 1, [Define to 1 if building for android])
> +])
> +
> +dnl
>  dnl libgcrypt
>  dnl
>  AC_ARG_ENABLE(libgcrypt,
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> http://mailman.videolan.org/listinfo/vlc-commits




More information about the vlc-devel mailing list