From: Lincoln Ramsay Date: Tue, 4 Oct 2011 03:20:42 +0000 (+1000) Subject: If -xcb is passed and we can't enable xcb, die X-Git-Tag: qt-v5.0.0-alpha1~3334 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a67022723b0b2d59011641086f30a41c8ff4dac0;p=profile%2Fivi%2Fqtbase.git If -xcb is passed and we can't enable xcb, die Needed to resolve issue QTBUG-21486 Change-Id: I5493cfa73f0433fda60fb0dd850380021e13b928 Reviewed-on: http://codereview.qt-project.org/5944 Reviewed-by: Qt Sanity Bot Reviewed-by: Rohan McGovern --- diff --git a/configure b/configure index ddcc3f8..a0ef3f9 100755 --- a/configure +++ b/configure @@ -6293,6 +6293,12 @@ if [ "$PLATFORM_QPA" = "yes" ]; then QT_CONFIG="$QT_CONFIG xcb-xlib" fi else + if [ "$CFG_XCB" = "yes" ]; then + echo "The XCB test failed!" + echo " You might need to install dependency packages." + echo " See src/plugins/platforms/xcb/README." + exit 1 + fi CFG_XCB=no fi fi