[vlc-devel] [PATCH 3/5] omxil: Remove the header check for the iomx module

Martin Storsjö martin at martin.st
Fri Dec 16 22:47:04 CET 2011


Building the iomx version of the omxil module itself doesn't
require the private headers any longer, they're only necessary
when building the iomx wrapper code (which should be built by the
NDK makefile instead).
---
 configure.ac |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/configure.ac b/configure.ac
index ae42157..53325ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2253,18 +2253,7 @@ AC_ARG_ENABLE(iomx,
   [  --enable-iomx           iomx codec module (default disabled)])
 if test "${enable_iomx}" = "yes"
 then
-  VLC_SAVE_FLAGS
-  CPPFLAGS="${CPPFLAGS} -I${srcdir}/modules/codec/omxil" # For the OMX headers
-  AC_LANG_PUSH([C++])
-  AC_CHECK_HEADER(media/stagefright/OMXClient.h, [
-    VLC_ADD_PLUGIN([iomx])
-    VLC_ADD_CXXFLAGS([iomx], [-fno-exceptions -fno-rtti])
-    VLC_ADD_LIBS([iomx], [-lstagefright -lmedia -lutils -lbinder])
-  ], [
-    AC_MSG_ERROR("Could not find IOMX headers")
-  ])
-  AC_LANG_POP([C++])
-  VLC_RESTORE_FLAGS
+  VLC_ADD_PLUGIN([iomx])
 fi
 
 dnl
-- 
1.7.2.5




More information about the vlc-devel mailing list