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>
This commit is contained in:
Oswald Buddenhagen
2012-04-10 10:06:03 +02:00
committed by Qt by Nokia
parent 6562d7b44d
commit c2543dc358

5
configure vendored
View File

@@ -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