mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
configure: add --with-omx-header-path option for external omx headers
https://bugzilla.gnome.org/show_bug.cgi?id=726957
This commit is contained in:
parent
58aa603b36
commit
0b2f5791f0
1 changed files with 7 additions and 0 deletions
|
@ -159,6 +159,13 @@ GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`"
|
|||
AC_SUBST(GLIB_PREFIX)
|
||||
AC_SUBST(GST_PREFIX)
|
||||
|
||||
AC_ARG_WITH([omx-header-path],
|
||||
AS_HELP_STRING([--with-omx-header-path],[path of external OpenMAX IL header files]),
|
||||
[omx_header_path="$withval"], [omx_header_path="none"])
|
||||
|
||||
if test x"$omx_header_path" != x"none"; then
|
||||
CPPFLAGS="$CPPFLAGS -I$omx_header_path"
|
||||
fi
|
||||
dnl Check for external OpenMAX IL headers
|
||||
AC_CHECK_HEADER([OMX_Core.h], [HAVE_EXTERNAL_OMX=yes], [HAVE_EXTERNAL_OMX=no], [AC_INCLUDES_DEFAULT])
|
||||
AM_CONDITIONAL(HAVE_EXTERNAL_OMX, test "x$HAVE_EXTERNAL_OMX" = "xyes")
|
||||
|
|
Loading…
Reference in a new issue