summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2012-09-05 10:31:49 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-13 16:47:27 +0200
commitf0e2c6fe1c4b89260844243a98862ebe672e3ad9 (patch)
tree86e7d94875aac83d853c0aeb8cac9356cafdc92b /configure
parent0abae2aa2b99909b6da4c98b87354a1ba1cd025a (diff)
Add c++11 option to configure.exe
Also check for c++11 support in configure.exe (which is also used by MinGW builds). The c++11 check is therefore moved from 'unix' to 'common' directory. Change-Id: I082848f032c2770e52e34f331b83820f395c06b6 Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Yuchen Deng <loaden@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 8cc0d30ccf..b7f46ddae2 100755
--- a/configure
+++ b/configure
@@ -3819,7 +3819,7 @@ fi
# Detect C++11 support
if [ "$CFG_CXX11" != "no" ]; then
- if compileTest unix/c++11 "C++11"; then
+ if compileTest common/c++11 "C++11"; then
CFG_CXX11="yes"
elif [ "$CFG_CXX11" != "auto" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
echo "C++11 support cannot be enabled due to functionality tests!"