changeset 13802:08c90d8c1325

fix XVideo misdetection on OSF/1, patch by Gabucino <gabucino at mplayerhq.hu>
author faust3
date Sat, 30 Oct 2004 08:17:48 +0000
parents 245f5d4b4af7
children 0bd7ccf63c54
files configure
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Oct 29 22:05:34 2004 +0000
+++ b/configure	Sat Oct 30 08:17:48 2004 +0000
@@ -3394,7 +3394,10 @@
   cat > $TMPC <<EOF
 #include <X11/Xlib.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
   _xv=no
   cc_check $_inc_x11 -lXv $_ld_x11 && _xv=yes