AC_PROG_CC wrongly setting $GCC=yes while clang is used

2014-09-07 Thread Bastien Chevreux
Hello there, having used gcc for ages, I decided to try and play around with clang for one of my C/C++ projects. Unfortunately, it looks as if autoconf 2.69 gets things horribly wrong with clang. I’m literally forcing it to find only clang, but it still insists on trying to tell me I’m running

Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used

2014-09-07 Thread Paul Smith
On Sun, 2014-09-07 at 22:52 +0200, Bastien Chevreux wrote: > having used gcc for ages, I decided to try and play around with clang > for one of my C/C++ projects. Unfortunately, it looks as if autoconf > 2.69 gets things horribly wrong with clang. In what way? IIUC, configure has discovered that