mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
configure: Fix iOS check for eglglessink
This commit is contained in:
parent
dd19715961
commit
f13a574e2b
1 changed files with 10 additions and 17 deletions
27
configure.ac
27
configure.ac
|
@ -426,6 +426,13 @@ if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes"; then
|
|||
AG_GST_DISABLE_PLUGIN(real)
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADER(MobileCoreServices/MobileCoreServices.h, HAVE_IOS="yes", HAVE_IOS="no", [-])
|
||||
|
||||
AM_CONDITIONAL(HAVE_IOS, test "x$HAVE_IOS" = "xyes")
|
||||
if test "x$HAVE_IOS" = "xyes"; then
|
||||
AC_DEFINE(HAVE_IOS, 1, [Define if building for Apple iOS])
|
||||
fi
|
||||
|
||||
dnl disable gst plugins we might not be able to build on this
|
||||
dnl platform: (ugly but minimally invasive)
|
||||
dnl FIXME: maybe move to sys, or make work with winsock2
|
||||
|
@ -446,7 +453,7 @@ fi
|
|||
|
||||
dnl *** gst-libs/gst/egl ***
|
||||
AC_ARG_WITH([egl-window-system],
|
||||
AS_HELP_STRING([--with-egl-window-system],[EGL window system to use (x11, mali-fb, rpi, ios, none)]),
|
||||
AS_HELP_STRING([--with-egl-window-system],[EGL window system to use (x11, mali-fb, rpi, none)]),
|
||||
[EGL_WINDOW_SYSTEM="$withval"],
|
||||
[EGL_WINDOW_SYSTEM="auto"])
|
||||
|
||||
|
@ -481,12 +488,6 @@ if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then
|
||||
if test x"$HAVE_IOS" = x"yes"; then
|
||||
EGL_WINDOW_SYSTEM="ios"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then
|
||||
EGL_WINDOW_SYSTEM="none"
|
||||
fi
|
||||
|
@ -593,9 +594,6 @@ case "$EGL_WINDOW_SYSTEM" in
|
|||
LIBS=$old_LIBS
|
||||
CFLAGS=$old_CFLAGS
|
||||
;;
|
||||
ios)
|
||||
HAVE_EGLGLES="yes"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([invalid EGL window system specified])
|
||||
;;
|
||||
|
@ -860,13 +858,6 @@ case "$host" in
|
|||
;;
|
||||
esac
|
||||
|
||||
AC_CHECK_HEADER(MobileCoreServices/MobileCoreServices.h, HAVE_IOS="yes", HAVE_IOS="no", [-])
|
||||
|
||||
AM_CONDITIONAL(HAVE_IOS, test "x$HAVE_IOS" = "xyes")
|
||||
if test "x$HAVE_IOS" = "xyes"; then
|
||||
AC_DEFINE(HAVE_IOS, 1, [Define if building for Apple iOS])
|
||||
fi
|
||||
|
||||
dnl *** bluez ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_BLUEZ, true)
|
||||
AG_GST_CHECK_FEATURE(BLUEZ, [Bluez], bluez, [
|
||||
|
@ -1846,6 +1837,8 @@ AG_GST_CHECK_FEATURE(EGLGLES, [eglgles sink], eglgles, [
|
|||
LIBS=$old_LIBS
|
||||
CFLAGS=$old_CFLAGS
|
||||
])
|
||||
elif test x"$HAVE_IOS" = x"yes"; then
|
||||
HAVE_EGLGLES="yes"
|
||||
fi
|
||||
|
||||
AC_SUBST(EGLGLES_CFLAGS)
|
||||
|
|
Loading…
Reference in a new issue