[vlc-commits] Add HAVE_ANDROID define.

Rémi Duraffort git at videolan.org
Wed Feb 23 23:53:21 CET 2011


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,



More information about the vlc-commits mailing list