mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
avc: attempt new configure
This commit is contained in:
parent
84fb75ce86
commit
93a89498d6
1 changed files with 9 additions and 2 deletions
11
configure.ac
11
configure.ac
|
@ -538,8 +538,15 @@ dnl *** OS/X AVCVideoServices ***
|
|||
translit(dnm, m, l) AM_CONDITIONAL(USE_AVC, true)
|
||||
HAVE_AVC="no"
|
||||
AG_GST_CHECK_FEATURE(AVC, [AVC Video Services], avcsrc, [
|
||||
AC_CHECK_TYPE([AVCDevice], HAVE_AVC="yes", HAVE_AVC="no",
|
||||
[#include <AVCVideoServices/AVCVideoServices.h>])
|
||||
AC_LANG_PUSH([C++])
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS -framework AVCVideoServices -framework CoreFoundation"
|
||||
save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -framework AVCVideoServices -framework CoreFoundation"
|
||||
AC_TRY_COMPILE([], [], [HAVE_AVC=yes], [HAVE_AVC=no])
|
||||
LIBS=$save_LIBS
|
||||
CPPFLAGS=$save_CPPFLAGS
|
||||
AC_LANG_POP([C++])
|
||||
])
|
||||
dnl in case header AVCVideoServices/AVCVideoServices.h is found on other platforms
|
||||
case "$host" in
|
||||
|
|
Loading…
Reference in a new issue