diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2012-09-05 10:31:49 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-13 16:47:27 +0200 |
commit | f0e2c6fe1c4b89260844243a98862ebe672e3ad9 (patch) | |
tree | 86e7d94875aac83d853c0aeb8cac9356cafdc92b /configure | |
parent | 0abae2aa2b99909b6da4c98b87354a1ba1cd025a (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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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!" |