mxcl/homebrew — pull request #9857 by mistydemeo (2012-01-29 21:53:28+00:00)
Title: ENV.clang: support Xcode versions with no clang++

I noticed on my 10.6/Xcode 3.2.6 machine that `--use-clang` wasn't working. I eventually figured out it's because Xcode 3.2.6 has no clang++ executable, so the compiler sanity check falls back to `cc` instead.

clang++ is just a symlink to clang on Xcode 4; however, I'm not aware if it has any different behaviour when invoked as clang++. Any danger in allowing `CXX` to point to `/usr/bin/clang`?