summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2012-01-16 09:59:26 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-17 02:54:07 +0100
commit68f2155cd27f669559dd0f877156d81deda8bf73 (patch)
treed5283fce766a204d21bfe596f738c7e7249ff553 /configure
parentf13d0078d9f829cde2cd5b8b9eac40635a883ec6 (diff)
Fix for coreservices, it should be part of QPA tests
Since the coreservices test should be part of the QPA ones after all, this reverts d317182e and fixes the original problem correctly by checking if qpa is on before testing for coreservices Change-Id: I476f56924ff2d9bbc2f290563aaff9528fe72766 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 7 insertions, 5 deletions
diff --git a/configure b/configure
index 0143d63556..2ac7f69826 100755
--- a/configure
+++ b/configure
@@ -6231,11 +6231,6 @@ if [ "$PLATFORM_MAC" = "yes" ]; then
CFG_COREWLAN=no
fi
fi
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/mac/coreservices "CoreServices" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_CONFIG_TEST_COMMANDLINE; then
- QT_CONFIG="$QT_CONFIG coreservices"
- else
- QMakeVar add DEFINES QT_NO_CORESERVICES
- fi
fi
@@ -6344,6 +6339,13 @@ if [ "$PLATFORM_QPA" = "yes" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/qpa/wayland "Wayland" $L_FLAGS $I_FLAGS $l_FLAGS $QMAKE_CFLAGS_WAYLAND $QMAKE_LIBS_WAYLAND; then
QT_CONFIG="$QT_CONFIG wayland"
fi
+
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/mac/coreservices "CoreServices" $L_FLAGS $I_FLAGS $l_FLAGS $MAC_CONFIG_TEST_COMMANDLINE; then
+ QT_CONFIG="$QT_CONFIG coreservices"
+ else
+ QMakeVar add DEFINES QT_NO_CORESERVICES
+ fi
+
fi