aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-05 00:17:27 +0000
committerGravatar nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-05 00:17:27 +0000
commit6516ffdb7da37363c91ad9267121682774617b04 (patch)
tree1faa08fc03a82d2d6cfe959374ac134ca38b3356 /configure
parent97ce3e88b809651535d0f1650dc997e76569b196 (diff)
do not define video_out_macosx if corevideo is not present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15348 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 1be8cfa4ec..a03be0f605 100755
--- a/configure
+++ b/configure
@@ -3213,8 +3213,12 @@ EOF
_vosrc="$_vosrc vo_macosx.m"
_vomodules="macosx $_vomodules"
_macosx_frameworks="$_macosx_frameworks -framework Cocoa -framework QuartzCore -framework OpenGL"
+ _def_macosx_corevideo='#define MACOSX_COREVIDEO 1'
+ _macosx_corevideo=yes
else
_novomodules="macosx $_novomodules"
+ _def_macosx_corevideo='#undef MACOSX_COREVIDEO'
+ _macosx_corevideo=no
fi
fi
echores "$_macosx"
@@ -6891,6 +6895,7 @@ MACOSX = $_macosx
MACOSX_FINDER_SUPPORT = $_macosx_finder_support
MACOSX_BUNDLE = $_macosx_bundle
MACOSX_FRAMEWORKS = $_macosx_frameworks
+MACOSX_COREVIDEO = $_macosx_corevideo
TOOLAME=$_toolame
TOOLAME_EXTRAFLAGS=$_toolame_extraflags
TOOLAME_LIB=$_toolame_lib
@@ -7201,6 +7206,7 @@ $_def_dshow
$_def_macosx
$_def_macosx_finder_support
$_def_macosx_bundle
+$_def_macosx_corevideo
/* Build our Win32-loader */
$_def_win32_loader