fix XVideo misdetection on OSF/1, patch by Gabucino <gabucino at mplayerhq.hu>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13803 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2004-10-30 08:17:48 +00:00
parent a8db0e4a90
commit 666adde006
1 changed files with 4 additions and 1 deletions

5
configure vendored
View File

@ -3394,7 +3394,10 @@ if test "$_x11" = yes && test "$_xv" != no ; then
cat > $TMPC <<EOF cat > $TMPC <<EOF
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/extensions/Xvlib.h> #include <X11/extensions/Xvlib.h>
int main(void) { (void) XvGetPortAttribute(0, 0, 0, 0); return 0; } int main(void) {
(void) XvGetPortAttribute(0, 0, 0, 0);
(void) XvQueryPortAttributes(0, 0, 0);
return 0; }
EOF EOF
_xv=no _xv=no
cc_check $_inc_x11 -lXv $_ld_x11 && _xv=yes cc_check $_inc_x11 -lXv $_ld_x11 && _xv=yes