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.
This commit is contained in:
parent
265fb0cdc7
commit
0faccb839a
12
bootstrap
12
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$'
|
||||
|
|
Loading…
Reference in New Issue