diff options
author | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-29 11:41:07 +0000 |
---|---|---|
committer | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-29 11:41:07 +0000 |
commit | 382d7cbca8d262ceb746d4cfc1fa5d5a21e85c95 (patch) | |
tree | 2539250a21ccf38ce26726535649dd740d590b1e /configure | |
parent | 863cb81fb82294ba6726e6b8567c37e320fd00bd (diff) |
macosx core video module
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15292 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -3202,6 +3202,19 @@ EOF 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" + _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 + echocheck "Mac OS X Finder Support" if test "$_macosx_finder_support" = auto ; then _macosx_finder_support=$_macosx @@ -7538,7 +7551,7 @@ EOF ############################################################################# echo "Creating libvo/config.mak" -_voobj=`echo $_vosrc | sed -e 's/\.c/\.o/g'` +_voobj=`echo $_vosrc | sed -e 's/\.c/\.o/g;s/\.m/\.o/g'` cat > libvo/config.mak << EOF include ../config.mak OPTIONAL_SRCS = $_vosrc |