summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-3.2.8-mesa-check.patch
blob: 6813a1744695c0bdbd992166bf1d90a10953b676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- configure
+++ configure
@@ -1225,10 +1225,7 @@
   XCloseDisplay(dpy);
 }
 EOF
-  [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"`
-  if test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs; then
-    log_success "found"
-  fi
+  test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs
 }
 
 
@@ -1382,21 +1379,6 @@
 #include <GL/glu.h>
 extern "C" int main(void)
 {
-  Display *dpy;
-  int major, minor;
-
-  dpy = XOpenDisplay(NULL);
-  if (dpy)
-  {
-    Bool glx_version = glXQueryVersion(dpy, &major, &minor);
-    XCloseDisplay(dpy);
-    if (glx_version)
-    {
-      printf("found version %u.%u, OK.\n", major, minor);
-      return 0;
-    }
-  }
-  printf("found (inactive), OK.\n");
   return 0;
 }
 EOF