autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bastien Chevreux
Subject: Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used
Date: Tue, 9 Sep 2014 09:31:35 +0200

On 09 Sep 2014, at 1:33 , Peter Johansson <address@hidden> wrote:
On 09/09/2014 04:36 AM, Bastien Chevreux wrote:
>>  is there somewhere in the autoconf system a macro which gives back the 
>> compiler family of the used compiler so that one can take some action? 
>> Something which would set a variable (e.g. COMPILER_FAMILY) so that one can 
>> write something like this:
> 
> perhaps not kosher and yadda yadday, but
> 
> http://www.gnu.org/software/autoconf-archive/ax_compiler_vendor.html#ax_compiler_vendor

Ummm … thank you. Why on earth did I not see this? Thank you. I think I was to 
focussed on the fact that GNU’s not a ‘vendor’. Thank you.

Bastien

PS: did I already say thank you? No? Well then: thank you.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]