--- configure.orig 2010-12-23 18:14:53.146165992 +0100 +++ configure 2010-12-23 18:16:28.875024510 +0100 @@ -1232,10 +1232,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 } @@ -1389,21 +1386,6 @@ #include 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