summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-07-08 10:18:56 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-07-09 14:21:39 +1000
commitbae8bc5d23946036b2c1079fc6f1b3bceeaa19ca (patch)
tree1a303cf6aa958bd984c0ffb885ff007e32ce2c83 /configure
parent3e50d680a37401c05d753982eb5d43c0f1225f63 (diff)
Disable private unit tests when Qt is configured without
-developer-build, part 1. Adds QT_CONFIG+=private_tests to qconfig.pri when Qt is configured with -developer-build. Reviewed-by: Michael Goddard
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index f9b3030be..bd8b0caa0 100755
--- a/configure
+++ b/configure
@@ -6256,7 +6256,6 @@ esac
# debug release
# dll staticlib
#
-# internal
# nocrosscompiler
# GNUmake
# largefile
@@ -6736,6 +6735,9 @@ fi
if [ "$PLATFORM_MAC" = "yes" ]; then
QT_CONFIG="$QT_CONFIG $CFG_MAC_ARCHS"
fi
+if [ "$CFG_DEV" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG private_tests"
+fi
# Make the application arch follow the Qt arch for single arch builds.
# (for multiple-arch builds, set CONFIG manually in the application .pro file)