From cdc2161b6f87deaac6a256885fd6ecdccad6eb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 1 Oct 2012 10:17:21 +0200 Subject: Made xcb plugin work when the GLX extension is not present. Change-Id: I9285d7524586ff404206c088019ece33335137d9 Reviewed-by: Lars Knoll --- configure | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure') diff --git a/configure b/configure index d130b69ef4..5229c2b0ea 100755 --- a/configure +++ b/configure @@ -801,6 +801,7 @@ CFG_XINPUT2=auto CFG_XINPUT=runtime CFG_XKB=auto CFG_XCB=auto +CFG_XCB_GLX=no CFG_XCB_LIMITED=yes CFG_EGLFS=auto CFG_DIRECTFB=auto @@ -4790,6 +4791,11 @@ if [ "$CFG_XCB" != "no" ]; then QT_CONFIG="$QT_CONFIG xcb-render" fi + if compileTest qpa/xcb-glx "xcb-glx" $QMAKE_CFLAGS_XCB $QMAKE_LIBS_XCB; then + CFG_XCB_GLX=yes + QT_CONFIG="$QT_CONFIG xcb-glx" + fi + if compileTest qpa/xcb-poll-for-queued-event "xcb-poll-for-queued-event" $QMAKE_CFLAGS_XCB $QMAKE_LIBS_XCB; then CFG_XCB_LIMITED=no QT_CONFIG="$QT_CONFIG xcb-poll-for-queued-event" -- cgit v1.2.3