Move the AC_PROG_CC checks earlier in the configure file. The lateness
authorEric Christopher <echristo@apple.com>
Fri, 16 Sep 2011 20:36:25 +0000 (20:36 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 16 Sep 2011 20:36:25 +0000 (20:36 +0000)
commitffee5728affd21b563c9f6b11a5029aa7fcb7bc2
treef826f42cd1d0378881526d04b523d6b8913d5ddc
parent04f138e2253d30bc754d82d40c3271d8882b4885
Move the AC_PROG_CC checks earlier in the configure file. The lateness
of the original check meant that configure was caching the default
CC check and using that instead of the result of AC_PROG_CC in both
configure checks and during compilation.

This wasn't affecting C++ so it was hard to notice.

Regenerate configure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139937 91177308-0d34-0410-b5e6-96231b3b80d8
autoconf/configure.ac
configure