From 2d598e472a24f0e70bac52fafe3325deb33fa5d4 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 8 Jun 2012 15:08:27 -0700 Subject: 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 Reviewed-by: Sean Harmer Reviewed-by: Oswald Buddenhagen --- configure | 6 ------ 1 file changed, 6 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 64efde3ec1..e047b64c90 100755 --- 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 -- cgit v1.2.3