Caching for configure scripts
I've just set my gentoo system off on a large update and it got me thinking... is there any way to cache the stuff that is found by configure scripts globally so that every other configure script already knows the answers to those questions? It's just, I think it seems daft to have configure check for the same header files 60 odd times - once for each package. I know it's not quite so bad if you use binary packages, but still configure is still as irritating on any distro. Although I guess it *is* possible that something could change and the cache would have the wrong answers....
But does anyone reckon this could be done?