mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
configure: Disable osxvideo on Leopard and earlier
This also moves the "other platforms" check in OS X video to before the variable is read https://bugzilla.gnome.org/show_bug.cgi?id=721245
This commit is contained in:
parent
c83ed4f61e
commit
aeb3fa72b2
1 changed files with 10 additions and 10 deletions
20
configure.ac
20
configure.ac
|
@ -486,17 +486,17 @@ translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true)
|
|||
HAVE_OSX_VIDEO="no"
|
||||
AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
|
||||
AC_CHECK_HEADER(OpenGL/gl.h, HAVE_OSX_VIDEO="yes", HAVE_OSX_VIDEO="no")
|
||||
])
|
||||
dnl in case header OpenGL/gl.h is found on other platforms
|
||||
case "$host" in
|
||||
*-*darwin*)
|
||||
dnl do nothing
|
||||
;;
|
||||
*)
|
||||
HAVE_OSX_VIDEO="no"
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl in case header OpenGL/gl.h is found on other platforms (or older, unsupported OS X)
|
||||
case "$host" in
|
||||
*-*darwin1*)
|
||||
dnl do nothing on Snow Leopard or newer
|
||||
;;
|
||||
*)
|
||||
HAVE_OSX_VIDEO="no"
|
||||
;;
|
||||
esac
|
||||
])
|
||||
|
||||
dnl *** Video 4 Linux 2 ***
|
||||
dnl for information about the header/define, see sys/v4l2/gstv4l2element.h
|
||||
|
|
Loading…
Reference in a new issue