./configure always checks whether the build environment is sane...
I can't help but wonder what exactly a insane build environment is. What errors can this check raise?
./configure always checks whether the build environment is sane...
I can't help but wonder what exactly a insane build environment is. What errors can this check raise?
This comes from automake, specifically from its AM_SANITY_CHECK macro, which is called from AM_INIT_AUTOMAKE, which is normally called early in configure.ac. The gist of this macro is:
ls appears to work.configure file. If it isn't (typically because the clock on the build system is not set correctly), the build process is likely to fail because build processes usually rely on generated files having a more recent timestamp than the source files they are generated from.