summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2010-08-19 10:43:58 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2010-08-19 10:43:58 (GMT)
commit0e451e855e54f6827e11f7664450aaf0be208203 (patch)
tree26ceb00aa948c1cbd8103a825fc5582d6a1bd719 /configure
parenta226143eeda6771efc4f0df6955351336735cb60 (diff)
parent872ccdcc090cec252cea2109d2fc9f2f2ee4c795 (diff)
downloadQt-0e451e855e54f6827e11f7664450aaf0be208203.zip
Qt-0e451e855e54f6827e11f7664450aaf0be208203.tar.gz
Qt-0e451e855e54f6827e11f7664450aaf0be208203.tar.bz2
Merge remote branch 'lighthouse/4.7' into lighthouse-master
Conflicts: src/plugins/bearer/connman/qconnmanservice_linux.cpp tests/auto/qpainter/tst_qpainter.cpp
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 10 insertions, 5 deletions
diff --git a/configure b/configure
index 1d7a5ff..a8d8610 100755
--- a/configure
+++ b/configure
@@ -2535,10 +2535,15 @@ if [ "$OPT_SHADOW" = "yes" ]; then
# Special case for mkspecs/features directory.
# To be able to place .prf files into a shadow build directory,
# we're creating links for files only. The directory structure is reproduced.
- # A simple "cp -rs" doesn't work on Mac. :(
rm -rf "$outpath/mkspecs/features"
- find "$relpath/mkspecs/features" -type d | sed "s,^$relpath,$outpath," | xargs mkdir -p
- find "$relpath/mkspecs/features" -type f | sed "s,^$relpath/,," | xargs -n 1 -I % ln -s "$relpath/%" "$outpath/%"
+ if [ "$UNAME_SYSTEM" = "Linux" ]; then
+ # This works with GNU coreutils, and is needed for ScratchBox
+ cp -rs "$relpath/mkspecs/features" "$outpath/mkspecs/features"
+ else
+ # A simple "cp -rs" doesn't work on Mac. :(
+ find "$relpath/mkspecs/features" -type d | sed "s,^$relpath,$outpath," | xargs mkdir -p
+ find "$relpath/mkspecs/features" -type f | sed "s,^$relpath/,," | xargs -n 1 -I % ln -s "$relpath/%" "$outpath/%"
+ fi
# symlink the doc directory
rm -rf "$outpath/doc"
@@ -3807,8 +3812,8 @@ fi
-no-scripttools .... Do not build the QtScriptTools module.
+ -scripttools ....... Build the QtScriptTools module.
- + -no-declarative .....Do not build the declarative module.
- -declarative ....... Build the declarative module.
+ -no-declarative .....Do not build the declarative module.
+ + -declarative ....... Build the declarative module.
-platform target ... The operating system and compiler you are building
on ($PLATFORM).