summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-15 19:55:53 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-15 19:55:53 (GMT)
commitdc0befb6a1b6480d5c2a8237ac052452c710e39a (patch)
tree7e870ecbe88c30f1ad6f647a20f4b61a9ecffa05 /bootstrap
parent6fdcf02aafe1d3c64a4cce0b852685a6dde88a10 (diff)
downloadCMake-dc0befb6a1b6480d5c2a8237ac052452c710e39a.zip
CMake-dc0befb6a1b6480d5c2a8237ac052452c710e39a.tar.gz
CMake-dc0befb6a1b6480d5c2a8237ac052452c710e39a.tar.bz2
bootstrap: Remove check that identifies GNU compiler
Bootstrapping no longer depends on this information.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap25
1 files changed, 0 insertions, 25 deletions
diff --git a/bootstrap b/bootstrap
index 7304908..00c3ba5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1110,31 +1110,6 @@ if [ "x${cmake_full_make_flags}" != "x${cmake_make_flags}" ]; then
echo "---------------------------------------------"
fi
-# Ok, we have CC, CXX, and MAKE.
-
-# Test C++ compiler features
-
-# Are we GCC?
-
-TMPFILE=`cmake_tmp_file`
-echo '
-#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
-#include <iostream>
-int main() { std::cout << "This is GNU" << std::endl; return 0;}
-#endif
-' > ${TMPFILE}.cxx
-cmake_cxx_compiler_is_gnu=0
-if cmake_try_run "${cmake_cxx_compiler}" \
- "${cmake_cxx_flags}" "${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then
- cmake_cxx_compiler_is_gnu=1
-fi
-if [ "x${cmake_cxx_compiler_is_gnu}" = "x1" ]; then
- echo "${cmake_cxx_compiler} is GNU compiler"
-else
- echo "${cmake_cxx_compiler} is not GNU compiler"
-fi
-rm -f "${TMPFILE}.cxx"
-
# Test for kwsys features
KWSYS_NAME_IS_KWSYS=0
KWSYS_BUILD_SHARED=0