summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-08 17:27:07 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-08 17:27:07 (GMT)
commit0faccb839a75ab94f1ab39681a1ebe567647be6b (patch)
tree4b501e1417208ff1b632ab56caa33a9f7152f0a9 /bootstrap
parent265fb0cdc72fc46347ae0b8964078ca6d0a978e1 (diff)
downloadCMake-0faccb839a75ab94f1ab39681a1ebe567647be6b.zip
CMake-0faccb839a75ab94f1ab39681a1ebe567647be6b.tar.gz
CMake-0faccb839a75ab94f1ab39681a1ebe567647be6b.tar.bz2
bootstrap: Drop unnecessary KWSys platform check
The KWSys Configure.hxx header no longer needs KWSYS_STAT_HAS_ST_MTIM. Our bootstrap-built CMake does not need to handle nanosecond precision file times anyway.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap12
1 files changed, 1 insertions, 11 deletions
diff --git a/bootstrap b/bootstrap
index ca4fd5e..ca86528 100755
--- a/bootstrap
+++ b/bootstrap
@@ -493,7 +493,7 @@ cmake_kwsys_config_replace_string ()
s/@KWSYS_LFS_REQUESTED@/${KWSYS_LFS_REQUESTED}/g;
s/@KWSYS_NAME_IS_KWSYS@/${KWSYS_NAME_IS_KWSYS}/g;
s/@KWSYS_STL_HAS_WSTRING@/${KWSYS_STL_HAS_WSTRING}/g;
- s/@KWSYS_STAT_HAS_ST_MTIM@/${KWSYS_STAT_HAS_ST_MTIM}/g;}" >> "${OUTFILE}${_tmp}"
+ }" >> "${OUTFILE}${_tmp}"
if [ -f "${OUTFILE}${_tmp}" ]; then
if "${_diff}" "${OUTFILE}" "${OUTFILE}${_tmp}" > /dev/null 2> /dev/null ; then
#echo "Files are the same"
@@ -1173,7 +1173,6 @@ KWSYS_NAME_IS_KWSYS=0
KWSYS_BUILD_SHARED=0
KWSYS_LFS_AVAILABLE=0
KWSYS_LFS_REQUESTED=0
-KWSYS_STAT_HAS_ST_MTIM=0
KWSYS_STL_HAS_WSTRING=0
KWSYS_CXX_HAS_SETENV=0
KWSYS_CXX_HAS_UNSETENV=0
@@ -1217,15 +1216,6 @@ else
echo "${cmake_cxx_compiler} does not have stl wstring"
fi
-if cmake_try_run "${cmake_cxx_compiler}" \
- "${cmake_cxx_flags} -DTEST_KWSYS_STAT_HAS_ST_MTIM" \
- "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then
- KWSYS_STAT_HAS_ST_MTIM=1
- echo "${cmake_cxx_compiler} has struct stat with st_mtim member"
-else
- echo "${cmake_cxx_compiler} does not have struct stat with st_mtim member"
-fi
-
# Just to be safe, let us store compiler and flags to the header file
cmake_bootstrap_version='$Revision$'