1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00

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: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
Martin Storsjö 2011-12-16 23:47:04 +02:00 committed by Jean-Baptiste Kempf
parent e3e832956b
commit 8acfed11dc

View File

@ -2244,18 +2244,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