summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-11-12 21:56:44 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-25 14:28:17 +0100
commit63606d6a39019bb8989db0c974c0aad0c141c7d8 (patch)
treec88736d4105634045d56f97adbbdf6583c41cee7 /configure
parentdac5fbaa2da9f89da62d8b8c9e258cefb705610f (diff)
simplify setting XPLATFORM_MINGW
no need for a separate case block. Change-Id: I8e9f460bc28ea29ff688fde0d777b168440196e1 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 6b2b88dac6..f7edfdf093 100755
--- a/configure
+++ b/configure
@@ -2666,8 +2666,10 @@ fi
[ -z "$XPLATFORM" ] && XPLATFORM="$PLATFORM"
-case `basename "$XPLATFORM"` in win32-g++*) XPLATFORM_MINGW=yes;; esac
case "$XPLATFORM" in
+ *win32-g++*)
+ XPLATFORM_MINGW=yes
+ ;;
*-maemo*)
XPLATFORM_MAEMO=yes
;;