The configuration script takes significantly longer to run than the compilation of all the C code, which is a hint that is in need of a major simplification.