From 247a594f476a4b1d5a705c000bb4efeffaf218aa Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 4 Dec 2025 14:36:57 +0100 Subject: [PATCH] configure.ac: fix avfoundation + ensure AV Foundation was never enabled due to a error in configure broken since f1745fba (2025-05-23) --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 96f18882a..146523bb8 100644 --- a/configure.ac +++ b/configure.ac @@ -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 # ------------------------------------------------------------------------------