Add video capture API proposal by 1bsyl · Pull Request #5477 · libsdl-org/SDL (original) (raw)

autotools need the equivalent changes made in cmake. Untested patch to
configure.ac follows

diff --git a/configure.ac b/configure.ac index 1d96004..b18d214 100644 --- a/configure.ac +++ b/configure.ac @@ -2189,13 +2189,22 @@ CheckCOCOA() #import <Cocoa/Cocoa.h> ]],[])], [have_cocoa=yes],[]) AC_MSG_RESULT($have_cocoa)

@@ -4218,12 +4227,14 @@ -ios-) SOURCES="$SOURCES $srcdir/src/video/uikit/*.m" SUMMARY_video="${SUMMARY_video} uikit" have_video=yes

@@ -4323,6 +4334,9 @@ --darwin* ) # The Mac OS X platform requires special setup. EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc" EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreVideo"