aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
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