[MPlayer-cvslog] CVS: main configure,1.981,1.982

Nicolas Plourde CVS syncmail at mplayerhq.hu
Fri Apr 29 13:41:09 CEST 2005


CVS change done by Nicolas Plourde CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv31178

Modified Files:
	configure 
Log Message:
macosx core video module

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.981
retrieving revision 1.982
diff -u -r1.981 -r1.982
--- configure	25 Apr 2005 07:07:57 -0000	1.981
+++ configure	29 Apr 2005 11:41:07 -0000	1.982
@@ -3202,6 +3202,19 @@
 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 @@
 #############################################################################
 
 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




More information about the MPlayer-cvslog mailing list