diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-04-10 10:06:03 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-20 11:33:35 +0200 |
commit | c2543dc358912663285eac56b792eee9fa2a3364 (patch) | |
tree | d571964a651b4a3192fba636f8943decb02f8926 /configure | |
parent | 6562d7b44dc104c482da1cbf9aaf7b20014da171 (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-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |