aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-04-10 10:06:03 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-20 11:33:35 +0200
commitc2543dc358912663285eac56b792eee9fa2a3364 (patch)
treed571964a651b4a3192fba636f8943decb02f8926 /configure
parent6562d7b44dc104c482da1cbf9aaf7b20014da171 (diff)
be explicit about qtbase/configure failing
so one has a base directory for paths it reports. Task-number: QTBUG-25190 Change-Id: Ib222e2d7b07bf986a9eccd6934e51574b5a5a052 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index cc49e586..b0abf2e3 100755
--- a/configure
+++ b/configure
@@ -95,7 +95,10 @@ if (-e ".qmake.cache") {
unlink ".qmake.cache";
}
my $ret = system_v("$relpath/qtbase/configure @ARGV");
-exit ($ret>>8) unless ($ret == 0);
+if ($ret != 0) {
+ print "*** qtbase/configure exited with non-zero status.\n";
+ exit ($ret>>8) ;
+}
if (! -e ".qmake.cache") {
# Even though there was no error code, this file wasn't created
# so configure didn't finish properly. This is probably because