This may do what you need:
http://autoconf-archive.cryp.to/ax_compiler_vendor.html

- Rhys

On Fri, Feb 20, 2009 at 4:43 PM, aaragon <[email protected]> wrote:

>
> Hi everyone,
>
> I was wondering if there is an easy way to test if using the C++ intel
> compiler (icpc). I've been trying to see the values of variables GXX, GCC,
> CC and CXX when running the configure script, and they show
> yes
> yes
> gcc
> icpc -g -O2 -gxx-name=g++-mp-4.3
>
> So at least these variables don't give me useful information. I need to
> have
> different behaviors depending on whether the GNU C++ or the Intel C++
> compilers are used.
>
> Maybe it is trivial to do this check, but after a while I couldn't find
> anything about it so any suggestion is appreciated. Thanks,
>
> aa
>
> --
> View this message in context:
> http://www.nabble.com/Intel-C%2B%2B-compiler-test-tp22129879p22129879.html
> Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Autoconf mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/autoconf
>
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to