diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-06-08 15:08:27 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-11 11:30:23 +0200 |
commit | 2d598e472a24f0e70bac52fafe3325deb33fa5d4 (patch) | |
tree | c6a69d88ee4b4f1f59961013579458b15b86b9cb /configure | |
parent | 2a8c423577e7d7a647e4b252010c24c8be59dfca (diff) |
configure: remove unused PLATFORMS variable
PLATFORMS is unused. Also remove the loop that printed all the
PLATFORMS when the mkspec couldn't be autodetected. Even if the
PLATFORMS variable was moved up, it wouldn't work anyway since
it detects files and not directories.
Change-Id: Id483c431a179fb01fcf680538e28c81763bc0b90
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -2355,10 +2355,6 @@ if [ -z "$PLATFORM" ]; then ;; *) if [ "$OPT_HELP" != "yes" ]; then - echo - for p in $PLATFORMS; do - echo " $relconf $* -platform $p" - done echo >&2 echo " The build script does not currently recognize all" >&2 echo " platforms supported by Qt." >&2 @@ -2370,8 +2366,6 @@ if [ -z "$PLATFORM" ]; then esac fi -PLATFORMS=`find "$relpath/mkspecs/" -type f | grep -v qws | sed "s,$relpath/mkspecs/qws/,,"` - [ -z "$XPLATFORM" ] && XPLATFORM="$PLATFORM" case `basename "$XPLATFORM"` in win32-g++*) XPLATFORM_MINGW=yes;; esac |