Collapse all the configure checks to a single configure script in the root of the source tree. This makes the configure process run a lot faster, expecially on Windows systems that are slower in general.