mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
configure.ac: detect presence of AVFoundation
This commit is contained in:
parent
06d59e7829
commit
f14cdcab58
1 changed files with 6 additions and 0 deletions
|
@ -427,8 +427,14 @@ if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes"; then
|
|||
AG_GST_DISABLE_PLUGIN(real)
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADER(AVFoundation/AVFoundation.h, HAVE_AVFOUNDATION="yes", HAVE_AVFOUNDATION="no", [-])
|
||||
AC_CHECK_HEADER(MobileCoreServices/MobileCoreServices.h, HAVE_IOS="yes", HAVE_IOS="no", [-])
|
||||
|
||||
AM_CONDITIONAL(HAVE_AVFOUNDATION, test "x$HAVE_AVFOUNDATION" = "xyes")
|
||||
if test "x$HAVE_AVFOUNDATION" = "xyes"; then
|
||||
AC_DEFINE(HAVE_AVFOUNDATION, 1, [Define if building with AVFoundation])
|
||||
fi
|
||||
|
||||
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])
|
||||
|
|
Loading…
Reference in a new issue