]> git.sesse.net Git - vlc/commitdiff
Revert "Add an automate variable to detect Android builb and use it to forbid build of"
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 30 Apr 2011 14:29:33 +0000 (17:29 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 30 Apr 2011 14:29:33 +0000 (17:29 +0300)
This reverts commit 8a1afb86f7747205d490d86fa20d4dd1f5932e69.
Don't define HAVE_LINUX if you don't have it in the first place.
And this does not even respect the configure message rules.

configure.ac
modules/access/Modules.am

index 39707f1975122520a2358aefb6bf0e7f64877792..79a118f68805cb854cd78a358e946d9664cb128d 100644 (file)
@@ -171,7 +171,6 @@ LDFLAGS_vlc="${LDFLAGS}"
 dnl
 dnl  Check the operating system
 dnl
-HAVE_ANDROID="0"
 HAVE_WIN64="0"
 case "${host_os}" in
   "")
@@ -179,10 +178,6 @@ case "${host_os}" in
     ;;
   linux*)
     SYS=linux
-    AC_TRY_COMPILE([],[#ifndef __ANDROID__
-                       # error "Not compiling for Android"
-                       #endif],
-                   [HAVE_ANDROID="1"])
     ;;
   bsdi*)
     SYS=bsdi
@@ -398,14 +393,13 @@ case "${host_os}" in
     SYS="${host_os}"
     ;;
 esac
-AM_CONDITIONAL(HAVE_ANDROID, test "${HAVE_ANDROID}" = "1")
 AM_CONDITIONAL(HAVE_DARWIN,  test "${SYS}" = "darwin")
 AM_CONDITIONAL(HAVE_LINUX,   test "${SYS}" = "linux")
 AM_CONDITIONAL(HAVE_OS2,     test "${SYS}" = "os2")
-AM_CONDITIONAL(HAVE_SYMBIAN, test "${SYS}" = "symbian")
 AM_CONDITIONAL(HAVE_WIN32,   test "${SYS}" = "mingw32")
 AM_CONDITIONAL(HAVE_WIN64,   test "${HAVE_WIN64}" = "1")
 AM_CONDITIONAL(HAVE_WINCE,   test "${SYS}" = "mingwce")
+AM_CONDITIONAL(HAVE_SYMBIAN, test "${SYS}" = "symbian")
 AM_CONDITIONAL(USE_PEFLAGS,  test "${enable_peflags}" = "yes")
 
 dnl
index ba819800850215685e4eaed9abd5ecfd46f9ec55..8d7bdce117c83c3fbc54ad020bf5a0df6123759e 100644 (file)
@@ -128,11 +128,9 @@ libdtv_plugin_la_LIBADD = $(AM_LIBADD)
 libdtv_plugin_la_DEPENDENCIES =
 
 if HAVE_LINUX
-if !HAVE_ANDROID
 libdtv_plugin_la_SOURCES += dtv/linux.c
 libvlc_LTLIBRARIES += libdtv_plugin.la
 endif
-endif
 
 if HAVE_WIN32
 # Work-around automake bug: