Commit f19bf724 authored by Martin Storsjö's avatar Martin Storsjö Committed by Jean-Baptiste Kempf

omxil: Remove the header check for the iomx module

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).
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 8acfed11dc97ae97353f6f982323f9fdc86c0eb8)
parent f399a08d
...@@ -2305,18 +2305,7 @@ AC_ARG_ENABLE(iomx, ...@@ -2305,18 +2305,7 @@ AC_ARG_ENABLE(iomx,
[ --enable-iomx iomx codec module (default disabled)]) [ --enable-iomx iomx codec module (default disabled)])
if test "${enable_iomx}" = "yes" if test "${enable_iomx}" = "yes"
then then
CPPFLAGS_save="${CPPFLAGS}" VLC_ADD_PLUGIN([iomx])
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++])
CPPFLAGS="${CPPFLAGS_save}"
fi fi
dnl dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment