File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1288,14 +1288,17 @@ AC_ARG_ENABLE(avfoundation,
12881288 [ avfoundation_req=auto]
12891289 )
12901290
1291- if test "$system?" = MacOSX && test "${avfoundation_req?}" != no
1291+ if test "${ system?} " = MacOSX && test "${avfoundation_req?}" != no
12921292then
12931293 AVFOUNDATION_LIB="-framework AppKit -framework AVFoundation -framework CoreMedia -framework CoreVideo"
12941294 AVFOUNDATION_OBJ="src/video_capture/avfoundation.o"
12951295 add_module "" "$AVFOUNDATION_OBJ" "$AVFOUNDATION_LIB"
12961296 avfoundation=yes
12971297fi
12981298
1299+ ENSURE_FEATURE_PRESENT([ ${avfoundation_req?}] , [ ${avfoundation?}] ,
1300+ [ AV Foundation not found] )
1301+
12991302# ------------------------------------------------------------------------------
13001303# SDL1/2/3 Stuff
13011304# ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments