mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
configure.ac: fix avc check so that it tries to link to AVCVideoServices
Avoids avc plugin from being built when AVCVideoServices is not installed
This commit is contained in:
parent
a9c60f3b31
commit
e6550ca982
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ AG_GST_CHECK_FEATURE(AVC, [AVC Video Services], avcsrc, [
|
||||||
CPPFLAGS="$CPPFLAGS -framework AVCVideoServices -framework CoreFoundation"
|
CPPFLAGS="$CPPFLAGS -framework AVCVideoServices -framework CoreFoundation"
|
||||||
save_LIBS="$LIBS"
|
save_LIBS="$LIBS"
|
||||||
LIBS="$LIBS -framework AVCVideoServices -framework CoreFoundation"
|
LIBS="$LIBS -framework AVCVideoServices -framework CoreFoundation"
|
||||||
AC_TRY_COMPILE([], [], [HAVE_AVC=yes], [HAVE_AVC=no])
|
AC_TRY_LINK([], [], [HAVE_AVC=yes], [HAVE_AVC=no])
|
||||||
LIBS=$save_LIBS
|
LIBS=$save_LIBS
|
||||||
CPPFLAGS=$save_CPPFLAGS
|
CPPFLAGS=$save_CPPFLAGS
|
||||||
AC_LANG_POP([C++])
|
AC_LANG_POP([C++])
|
||||||
|
|
Loading…
Reference in a new issue