configure: remove unused PLATFORMS variable
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Fri, 8 Jun 2012 22:08:27 +0000 (15:08 -0700)
committerQt by Nokia <qt-info@nokia.com>
Mon, 11 Jun 2012 09:30:23 +0000 (11:30 +0200)
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>
configure

index 64efde3..e047b64 100755 (executable)
--- a/configure
+++ b/configure
@@ -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