mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +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)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_AVC, true)
|
||||||
HAVE_AVC="no"
|
HAVE_AVC="no"
|
||||||
AG_GST_CHECK_FEATURE(AVC, [AVC Video Services], avcsrc, [
|
AG_GST_CHECK_FEATURE(AVC, [AVC Video Services], avcsrc, [
|
||||||
AC_CHECK_TYPE([AVCDevice], HAVE_AVC="yes", HAVE_AVC="no",
|
AC_LANG_PUSH([C++])
|
||||||
[#include <AVCVideoServices/AVCVideoServices.h>])
|
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
|
dnl in case header AVCVideoServices/AVCVideoServices.h is found on other platforms
|
||||||
case "$host" in
|
case "$host" in
|
||||||
|
|
Loading…
Reference in a new issue