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 # ------------------------------------------------------------------------------