summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-05 19:38:28 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-11 16:06:04 (GMT)
commit5e92c82655e7430bef6604c90b3389f6609c2bdf (patch)
tree5ad641c1a77a1c2050943b914e3d1d5917e573a3 /bootstrap
parent15e42bb27c75e90da8163b89ad8fdc0a8fd70d7a (diff)
downloadCMake-5e92c82655e7430bef6604c90b3389f6609c2bdf.zip
CMake-5e92c82655e7430bef6604c90b3389f6609c2bdf.tar.gz
CMake-5e92c82655e7430bef6604c90b3389f6609c2bdf.tar.bz2
Remove some obsolete stuff.
We don't need to run compiler tests for ansi-for etc anymore. All supported compilers support the features tested here.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap29
1 files changed, 0 insertions, 29 deletions
diff --git a/bootstrap b/bootstrap
index d92b091..ac82f21 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1461,35 +1461,6 @@ cmake_compiler_settings_comment="/*
cmake_report cmConfigure.h${_tmp} "${cmake_compiler_settings_comment}"
-if [ "x$KWSYS_STL_HAVE_STD" = "x1" ]; then
- cmake_report cmConfigure.h${_tmp} "/* #undef CMAKE_NO_STD_NAMESPACE */"
-else
- cmake_report cmConfigure.h${_tmp} "#define CMAKE_NO_STD_NAMESPACE 1"
-fi
-
-if [ "x$KWSYS_IOS_USE_ANSI" = "x1" ]; then
- cmake_report cmConfigure.h${_tmp} "/* #undef CMAKE_NO_ANSI_STREAM_HEADERS */"
-else
- cmake_report cmConfigure.h${_tmp} "#define CMAKE_NO_ANSI_STREAM_HEADERS 1"
-fi
-
-if [ "x$KWSYS_IOS_USE_SSTREAM" = "x1" ]; then
- cmake_report cmConfigure.h${_tmp} "/* #undef CMAKE_NO_ANSI_STRING_STREAM */"
-else
- cmake_report cmConfigure.h${_tmp} "#define CMAKE_NO_ANSI_STRING_STREAM 1"
-fi
-
-# Test for ansi FOR scope
-if cmake_try_run "${cmake_cxx_compiler}" \
- "${cmake_cxx_flags}" \
- "${cmake_source_dir}/Modules/TestForAnsiForScope.cxx" >> cmake_bootstrap.log 2>&1; then
- cmake_report cmConfigure.h${_tmp} "/* #undef CMAKE_NO_ANSI_FOR_SCOPE */"
- echo "${cmake_cxx_compiler} has ANSI for scoping"
-else
- cmake_report cmConfigure.h${_tmp} "#define CMAKE_NO_ANSI_FOR_SCOPE 1"
- echo "${cmake_cxx_compiler} does not have ANSI for scoping"
-fi
-
# When bootstrapping on MinGW with MSYS we must convert the source
# directory to a windows path.
if ${cmake_system_mingw}; then