mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 04:40:16 +00:00
configure.ac: fix avfoundation + ensure
AV Foundation was never enabled due to a error in configure
broken since f1745fba (2025-05-23)
This commit is contained in:
@@ -1288,7 +1288,7 @@ AC_ARG_ENABLE(avfoundation,
|
||||
[avfoundation_req=auto]
|
||||
)
|
||||
|
||||
if test "$system?" = MacOSX && test "${avfoundation_req?}" != no
|
||||
if test "${system?}" = MacOSX && test "${avfoundation_req?}" != no
|
||||
then
|
||||
AVFOUNDATION_LIB="-framework AppKit -framework AVFoundation -framework CoreMedia -framework CoreVideo"
|
||||
AVFOUNDATION_OBJ="src/video_capture/avfoundation.o"
|
||||
@@ -1296,6 +1296,9 @@ then
|
||||
avfoundation=yes
|
||||
fi
|
||||
|
||||
ENSURE_FEATURE_PRESENT([${avfoundation_req?}], [${avfoundation?}],
|
||||
[AV Foundation not found])
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# SDL1/2/3 Stuff
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user