summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-11-11 18:02:56 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-11-15 22:43:46 +0000
commit6cd358db7e648265ab15b796815eea9609228d69 (patch)
tree93af96dececb52de6cb8e4dd46ae84538af817ea /mkspecs
parent5c263bf984ac830b7733c2ac6597bf84d0c0b1ba (diff)
mark up output of called commands in configure log
otherwise it's sometimes quite hard to tell it apart from configure's own messages. Change-Id: I2f4908344367a9a3ce38e032bf76486fc4552ffd Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/configure_base.prf5
1 files changed, 4 insertions, 1 deletions
diff --git a/mkspecs/features/configure_base.prf b/mkspecs/features/configure_base.prf
index 4e7292451e..dd1f4e5bfc 100644
--- a/mkspecs/features/configure_base.prf
+++ b/mkspecs/features/configure_base.prf
@@ -33,7 +33,10 @@ defineTest(qtRunLoggedCommand) {
qtLog("+ $$1")
output = $$system("( $$1 ) 2>&1", lines, result)
- qtLog($$output)
+ lg =
+ for (l, output): \
+ lg += "> $$l"
+ qtLog($$lg)
!isEmpty(2) {
$$2 = $$output
export($$2)