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
10
configure.ac
10
configure.ac
@ -486,17 +486,17 @@ translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true)
|
|||||||
HAVE_OSX_VIDEO="no"
|
HAVE_OSX_VIDEO="no"
|
||||||
AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
|
AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
|
||||||
AC_CHECK_HEADER(OpenGL/gl.h, HAVE_OSX_VIDEO="yes", HAVE_OSX_VIDEO="no")
|
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
|
dnl in case header OpenGL/gl.h is found on other platforms (or older, unsupported OS X)
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*darwin*)
|
*-*darwin1*)
|
||||||
dnl do nothing
|
dnl do nothing on Snow Leopard or newer
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
HAVE_OSX_VIDEO="no"
|
HAVE_OSX_VIDEO="no"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
])
|
||||||
|
|
||||||
dnl *** Video 4 Linux 2 ***
|
dnl *** Video 4 Linux 2 ***
|
||||||
dnl for information about the header/define, see sys/v4l2/gstv4l2element.h
|
dnl for information about the header/define, see sys/v4l2/gstv4l2element.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user