Use __INTEL_COMPILER instead of __ICC to the cpp to detect the Intel icc

compiler!
This commit is contained in:
Daniel Stenberg 2004-02-26 11:37:14 +00:00
parent 4427d91479
commit 0943f33438
1 changed files with 3 additions and 3 deletions

View File

@ -493,13 +493,13 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS],
AC_MSG_RESULT($gccver) AC_MSG_RESULT($gccver)
AC_MSG_CHECKING([if this is icc in disguise]) AC_MSG_CHECKING([if this is icc in disguise])
AC_EGREP_CPP([^__ICC], [__ICC], AC_EGREP_CPP([^__INTEL_COMPILER], [__INTEL_COMPILER],
dnl action if the text is found, this it has not been replaced by the dnl action if the text is found, this it has not been replaced by the
dnl cpp dnl cpp
[ICC="no"] ICC="no"
AC_MSG_RESULT([no]), AC_MSG_RESULT([no]),
dnl the text was not found, it was replaced by the cpp dnl the text was not found, it was replaced by the cpp
[ICC="yes"] ICC="yes"
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
) )