summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-29 11:41:07 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-29 11:41:07 +0000
commit382d7cbca8d262ceb746d4cfc1fa5d5a21e85c95 (patch)
tree2539250a21ccf38ce26726535649dd740d590b1e /configure
parent863cb81fb82294ba6726e6b8567c37e320fd00bd (diff)
downloadmpv-382d7cbca8d262ceb746d4cfc1fa5d5a21e85c95.tar.bz2
mpv-382d7cbca8d262ceb746d4cfc1fa5d5a21e85c95.tar.xz
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-xconfigure15
1 files changed, 14 insertions, 1 deletions
diff --git a/configure b/configure
index de897ad5da..a849fce33f 100755
--- a/configure
+++ b/configure
@@ -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