summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2011-10-04 13:20:42 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-06 03:32:06 +0200
commita67022723b0b2d59011641086f30a41c8ff4dac0 (patch)
tree8b04c7900572247dd26d276631ff9df438549453 /configure
parentc7f61b8bf5228745f56234f987682092dc5d29ff (diff)
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 <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index ddcc3f8174..a0ef3f9660 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