aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 0c3a2685..40152add 100755
--- a/configure
+++ b/configure
@@ -51,8 +51,18 @@ if (! -e "$relpath/qtbase/configure") {
ensureDir("$outpath/qtbase");
chdir("$outpath/qtbase");
+if (-e ".qmake.cache") {
+ # Remove this so we can detect if configure finished properly
+ unlink ".qmake.cache";
+}
my $ret = system_v("$relpath/qtbase/configure @ARGV");
exit $ret unless ($ret == 0);
+if (! -e ".qmake.cache") {
+ # Even though there was no error code, this file wasn't created
+ # so configure didn't finish properly. This is probaby because
+ # the user passed -help
+ exit 0;
+}
chdir("$outpath");