# HG changeset patch # User diego # Date 1241442964 0 # Node ID 94b0940726ca6463e8d6acb24ea6741284f0276d # Parent de815ca5405cc26c1dc16cb30541d6e42aeb0552 Improve CoreVideo check: Test more #includes, add -framework Carbon to LDFLAGS. diff -r de815ca5405c -r 94b0940726ca configure --- a/configure Mon May 04 11:44:36 2009 +0000 +++ b/configure Mon May 04 13:16:04 2009 +0000 @@ -3854,15 +3854,18 @@ if test "$_corevideo" = auto ; then cat > $TMPC < +#include +#include #include +#include int main(void) { return 0; } EOF _corevideo=no - cc_check -framework Carbon -framework QuartzCore -framework OpenGL && _corevideo=yes + cc_check -framework Carbon -framework Cocoa -framework QuartzCore -framework OpenGL && _corevideo=yes fi if test "$_corevideo" = yes ; then _vomodules="macosx $_vomodules" - extra_ldflags="$extra_ldflags -framework Cocoa -framework QuartzCore -framework OpenGL" + extra_ldflags="$extra_ldflags -framework Carbon -framework Cocoa -framework QuartzCore -framework OpenGL" def_corevideo='#define CONFIG_COREVIDEO 1' else _novomodules="macosx $_novomodules"