mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
Since b1a756fd
, applemedia fails to build on osx 10.7, which lacks VideoToolbox.h... so disable it on OSX if that header is missing.
https://bugzilla.gnome.org/show_bug.cgi?id=723508
This commit is contained in:
parent
0c01e9812a
commit
58b077de23
1 changed files with 5 additions and 0 deletions
|
@ -860,7 +860,12 @@ HAVE_APPLE_MEDIA="no"
|
||||||
dnl SystemConfiguration.h is common to OS X and iOS, so we check for that
|
dnl SystemConfiguration.h is common to OS X and iOS, so we check for that
|
||||||
AG_GST_CHECK_FEATURE(APPLE_MEDIA, [Apple video], applemedia, [
|
AG_GST_CHECK_FEATURE(APPLE_MEDIA, [Apple video], applemedia, [
|
||||||
AC_CHECK_HEADER(SystemConfiguration/SystemConfiguration.h, HAVE_APPLE_MEDIA="yes", HAVE_APPLE_MEDIA="no")
|
AC_CHECK_HEADER(SystemConfiguration/SystemConfiguration.h, HAVE_APPLE_MEDIA="yes", HAVE_APPLE_MEDIA="no")
|
||||||
|
dnl OSX 10.7 and earlier lack VideoToolbox/VideoToolbox.h
|
||||||
|
if test "x$HAVE_IOS" = "xno"; then
|
||||||
|
AC_CHECK_HEADER(VideoToolbox/VideoToolbox.h,, HAVE_APPLE_MEDIA="no")
|
||||||
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl in case header SystemConfiguration/SystemConfiguration.h is found on other platforms
|
dnl in case header SystemConfiguration/SystemConfiguration.h is found on other platforms
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*darwin*)
|
*-*darwin*)
|
||||||
|
|
Loading…
Reference in a new issue