# HG changeset patch # User nplourde # Date 1114789486 0 # Node ID 596948b718d7015a7b0e88c6e8677f21396dc3b0 # Parent 21e7332ea44e783225b42dc493cdf103e9759f03 enable vo_macosx if corevideo available diff -r 21e7332ea44e -r 596948b718d7 configure --- a/configure Fri Apr 29 11:41:07 2005 +0000 +++ b/configure Fri Apr 29 15:44:46 2005 +0000 @@ -3199,21 +3199,20 @@ _noaomodules="macosx $_noaomodules" _novomodules="quartz $_novomodules" fi -fi -echores "$_macosx" - -echocheck "Mac OS X Core Video Support" -if test "$_macosx" = yes ; then - if test "`sysctl -n kern.osrelease | cut -d "." -f 1`" = "8" ; then - echo "yes" +cat > $TMPC < +#include +int main(void) {} +EOF + if cc_check -framework Carbon -framework QuartzCore -framework OpenGL; then _vosrc="$_vosrc vo_macosx.m" _vomodules="macosx $_vomodules" _macosx_frameworks="$_macosx_frameworks -framework Cocoa -framework QuartzCore -framework OpenGL" else - echo "no" _novomodules="macosx $_novomodules" fi fi +echores "$_macosx" echocheck "Mac OS X Finder Support" if test "$_macosx_finder_support" = auto ; then