r967: move some configure checks to seperate files