summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-03 17:00:51 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-03 17:00:51 +0000
commitf31ed10742a2f195629b98bce6470c0aaa2bf232 (patch)
tree5abdc38893705c0b593890d541fe4926e1b52f13 /configure
parent37f93a57e5116b0f0b88b835ee7106495a113688 (diff)
downloadmpv-f31ed10742a2f195629b98bce6470c0aaa2bf232.tar.bz2
mpv-f31ed10742a2f195629b98bce6470c0aaa2bf232.tar.xz
Modify -vo direct3d so we do not have to link against d3d9.dll, it might
not be available on some rare systems. Based on patch used for builds by Gianluigi Tiesi [sherpya netfarm it] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30190 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 5031451b03..1cba7eda43 100755
--- a/configure
+++ b/configure
@@ -5334,11 +5334,10 @@ if test "$_direct3d" = auto ; then
int main(void) { return 0; }
EOF
_direct3d=no
- cc_check -ld3d9 && _direct3d=yes
+ cc_check && _direct3d=yes
fi
if test "$_direct3d" = yes ; then
def_direct3d='#define CONFIG_DIRECT3D 1'
- libs_mplayer="$libs_mplayer -ld3d9"
_vomodules="direct3d $_vomodules"
else
def_direct3d='#undef CONFIG_DIRECT3D'