aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-06-18 15:14:30 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-10 06:30:46 +0200
commitef8000991e5e4bd12e830d83a78d821b7863f0d4 (patch)
tree2eff169b18e5a582dfc5a88c8e38275e091e5f1f /configure
parent9b68559f3cc82db32e93d4040fa2b17f8315397b (diff)
leave makefile generation to the real configure
call it with the "secret" -top-level option, which shifts the makefile generation one level up. this makes the configure call the last thing we do, thus also avoiding the problems we had with the -help switch (and the previous attempts at fixing it). Change-Id: I80ba4a09b260a140a9d1b976277c30fd1436b4d6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 2 insertions, 8 deletions
diff --git a/configure b/configure
index 9ba24b57..535bc9d8 100755
--- a/configure
+++ b/configure
@@ -53,11 +53,5 @@ mkdir -p qtbase || exit
echo "+ cd qtbase"
cd qtbase || exit
-echo "+ $configure $@"
-"$configure" "$@" || exit 1
-
-echo "+ cd .."
-cd ..
-
-echo "+ qtbase/bin/qmake $srcpath"
-exec qtbase/bin/qmake "$srcpath"
+echo "+ $configure -top-level $@"
+exec "$configure" -top-level "$@"