Detect Clang masquerading as GCC.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 22 Nov 2013 07:13:36 +0000 (18:13 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 22 Nov 2013 07:13:40 +0000 (18:13 +1100)
commita6a4b6f2052829c205319ecb0f5df553baedc9a4
tree2f97b1c5f9b2bcc72e7eb1187fbda801eef8d93a
parent8e2eea6322348de674ebb4d3a2295131c92b0c49
Detect Clang masquerading as GCC.

Autoconf detects the Clang compiler as GNU GCC (clang sets defines like
__GNUC__ etc) but Clang is *not* completely compatible. If we detect
Clang we set ac_vc_c_compiler_gnu to 'no'.
configure.ac
m4/clang.m4 [new file with mode: 0644]
m4/really_gcc.m4 [new file with mode: 0644]