mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +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)
|
AG_GST_DISABLE_PLUGIN(real)
|
||||||
fi
|
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 disable gst plugins we might not be able to build on this
|
||||||
dnl platform: (ugly but minimally invasive)
|
dnl platform: (ugly but minimally invasive)
|
||||||
dnl FIXME: maybe move to sys, or make work with winsock2
|
dnl FIXME: maybe move to sys, or make work with winsock2
|
||||||
|
@ -446,7 +453,7 @@ fi
|
||||||
|
|
||||||
dnl *** gst-libs/gst/egl ***
|
dnl *** gst-libs/gst/egl ***
|
||||||
AC_ARG_WITH([egl-window-system],
|
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="$withval"],
|
||||||
[EGL_WINDOW_SYSTEM="auto"])
|
[EGL_WINDOW_SYSTEM="auto"])
|
||||||
|
|
||||||
|
@ -481,12 +488,6 @@ if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then
|
||||||
fi
|
fi
|
||||||
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
|
if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then
|
||||||
EGL_WINDOW_SYSTEM="none"
|
EGL_WINDOW_SYSTEM="none"
|
||||||
fi
|
fi
|
||||||
|
@ -593,9 +594,6 @@ case "$EGL_WINDOW_SYSTEM" in
|
||||||
LIBS=$old_LIBS
|
LIBS=$old_LIBS
|
||||||
CFLAGS=$old_CFLAGS
|
CFLAGS=$old_CFLAGS
|
||||||
;;
|
;;
|
||||||
ios)
|
|
||||||
HAVE_EGLGLES="yes"
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
AC_MSG_ERROR([invalid EGL window system specified])
|
AC_MSG_ERROR([invalid EGL window system specified])
|
||||||
;;
|
;;
|
||||||
|
@ -860,13 +858,6 @@ case "$host" in
|
||||||
;;
|
;;
|
||||||
esac
|
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 ***
|
dnl *** bluez ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_BLUEZ, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_BLUEZ, true)
|
||||||
AG_GST_CHECK_FEATURE(BLUEZ, [Bluez], bluez, [
|
AG_GST_CHECK_FEATURE(BLUEZ, [Bluez], bluez, [
|
||||||
|
@ -1846,6 +1837,8 @@ AG_GST_CHECK_FEATURE(EGLGLES, [eglgles sink], eglgles, [
|
||||||
LIBS=$old_LIBS
|
LIBS=$old_LIBS
|
||||||
CFLAGS=$old_CFLAGS
|
CFLAGS=$old_CFLAGS
|
||||||
])
|
])
|
||||||
|
elif test x"$HAVE_IOS" = x"yes"; then
|
||||||
|
HAVE_EGLGLES="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(EGLGLES_CFLAGS)
|
AC_SUBST(EGLGLES_CFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue