diff --git a/configure b/configure index 8c1711a702..c7ea66d583 100755 --- a/configure +++ b/configure @@ -2428,15 +2428,6 @@ if [ "$CFG_RTOS_ENABLED" = "no" ]; then esac fi -#------------------------------------------------------------------------------- -# write out device config before we run the test. -#------------------------------------------------------------------------------- -if cmp -s "$DEVICE_VARS_FILE" "$outpath/mkspecs/qdevice.pri"; then - rm -f "$DEVICE_VARS_FILE" -else - mv -f $DEVICE_VARS_FILE "$outpath/mkspecs/qdevice.pri" -fi - #------------------------------------------------------------------------------- # tests that don't need qmake (must be run before displaying help) #------------------------------------------------------------------------------- @@ -3661,6 +3652,15 @@ if [ -z "$PKG_CONFIG" ]; then QT_CONFIG="$QT_CONFIG no-pkg-config" fi +#------------------------------------------------------------------------------- +# write out device config before we run the test. +#------------------------------------------------------------------------------- +if cmp -s "$DEVICE_VARS_FILE" "$outpath/mkspecs/qdevice.pri"; then + rm -f "$DEVICE_VARS_FILE" +else + mv -f $DEVICE_VARS_FILE "$outpath/mkspecs/qdevice.pri" +fi + #------------------------------------------------------------------------------- # tests that need qmake #-------------------------------------------------------------------------------