Fix padding

svn path=/trunk/tools/build/v2/; revision=83788
Cache the results of ac checks.

svn path=/trunk/tools/build/v2/; revision=83789