From c2543dc358912663285eac56b792eee9fa2a3364 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 10 Apr 2012 10:06:03 +0200 Subject: 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 --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3