Skip to content

Commit af37525

Browse files
committed
configure.ac: fix avfoundation + ensure
AV Foundation was never enabled due to a error in configure broken since f1745fb (2025-05-23)
1 parent 4390ab0 commit af37525

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

configure.ac

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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
12921292
then
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
12971297
fi
12981298

1299+
ENSURE_FEATURE_PRESENT([${avfoundation_req?}], [${avfoundation?}],
1300+
[AV Foundation not found])
1301+
12991302
# ------------------------------------------------------------------------------
13001303
# SDL1/2/3 Stuff
13011304
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)