In commit 'Create KWSYS_PLATFORM_INFO_TEST macro' (2009-11-20) we implemented the macro to use a cache entry to avoid re-running the try_compile(). However, the output copied from the try_compile is needed on every configure. If the user wipes out the build tree but not the cache file then the try_compile() will not re-run to recreate the needed file. We address the problem by teaching the macro to run the try_compile() whenever its output file does not exist.
KWSys provides a platform-independent API to many common system features that are implemented differently on every platform. This library is intended to be shared among many projects, so it has a configurable namespace. Each project should configure KWSys to use a namespace unique to itself. See comments in CMakeLists.txt for details. You are probably reading this file in the source tree of a surrounding project. In that case, see "../README.kwsys" for details of using KWSys in your project.