0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

10l, xvmclib(dir) does not specify a directory name.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18984 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-07-09 17:00:23 +00:00
parent 4efbcdb3b5
commit 2efd5b393d

10
configure vendored
View File

@ -421,7 +421,7 @@ multiple paths separated by ':'):
--with-xmmslibdir=DIR libxmms.so.1 in DIR
--with-cdparanoiaincdir=DIR cdparanoia headers in DIR (*)
--with-cdparanoialibdir=DIR cdparanoia libraries (libcdda_*) in DIR (*)
--with-xvmclibdir=NAME name of adapter-specific library (e.g. XvMCNVIDIA)
--with-xvmclib=NAME name of adapter-specific library (e.g. XvMCNVIDIA)
--with-termcaplib=NAME name of library with termcap functionality
name should be given without leading "lib"
checks for "termcap" and "tinfo"
@ -3869,16 +3869,16 @@ int main(void) {
(void) XvMCCreateContext(0,0,0,0,0,0,0);
return 0; }
EOF
for _ld_tmp in $_xvmclibdir XvMCNVIDIA XvMCW I810XvMC ; do
cc_check $_inc_x11 -lXvMC -l$_ld_tmp $_ld_xv $_ld_x11 && _xvmc=yes && _xvmclibdir="$_ld_tmp" && break
for _ld_tmp in $_xvmclib XvMCNVIDIA XvMCW I810XvMC ; do
cc_check $_inc_x11 -lXvMC -l$_ld_tmp $_ld_xv $_ld_x11 && _xvmc=yes && _xvmclib="$_ld_tmp" && break
done
fi
if test "$_xvmc" = yes ; then
_def_xvmc='#define HAVE_XVMC 1'
_ld_xvmc="-lXvMC -l$_xvmclibdir"
_ld_xvmc="-lXvMC -l$_xvmclib"
_vosrc="$_vosrc vo_xvmc.c"
_vomodules="xvmc $_vomodules"
_res_comment="using $_xvmclibdir"
_res_comment="using $_xvmclib"
else
_def_xvmc='#undef HAVE_XVMC'
_novomodules="xvmc $_novomodules"