diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-01-03 20:23:19 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-01-06 20:10:10 +0000 |
commit | 696c3f9af852537897aa754dc269833ead9fcf41 (patch) | |
tree | f636225eda6237f33bd5c51315ec0e8c35a6f871 /configure | |
parent | 44a68aff6626d8e7beb040fe0d6dc52740e2a210 (diff) | |
download | qtbase-696c3f9af852537897aa754dc269833ead9fcf41.tar.gz |
complain about various invalid configuration attempts
Task-number: QTBUG-56049
Change-Id: Id5eeb014c2b88195d2d14566a62dcb9185206b37
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -82,6 +82,11 @@ if [ x"$1" = x"-top-level" ]; then relpathMangled=`dirname "$relpath"` outpathPrefix=../ shift +else + if [ -f ../.qmake.super ]; then + echo >&2 "ERROR: You cannot configure qtbase separately within a top-level build." + exit 1 + fi fi OPT_CMDLINE= # expanded version for the script |