--- configure +++ configure @@ -1226,9 +1226,7 @@ } 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,20 +1380,6 @@ #include extern "C" int main(void) { - Display *dpy; - int major, minor; - - dpy = XOpenDisplay(NULL); - if (dpy) - { - if (glXQueryVersion(dpy, &major, &minor)) - { - printf("found version %u.%u, OK.\n", major, minor); - return 0; - } - XCloseDisplay(dpy); - } - printf("found (inactive), OK.\n"); return 0; } EOF