aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-26 11:37:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-26 11:37:14 +0000
commit0943f33438925976c7b3e09d5f6e4e53bd7c46ce (patch)
treec3a16c21efcacef55851713b2dc2bec9f1c9b502
parent4427d91479d8e930ace86b42d2197b41ae01f870 (diff)
Use __INTEL_COMPILER instead of __ICC to the cpp to detect the Intel icc
compiler!
-rw-r--r--acinclude.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 8a03d7f1d..1e9e5f625 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -493,13 +493,13 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS],
AC_MSG_RESULT($gccver)
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 cpp
- [ICC="no"]
+ ICC="no"
AC_MSG_RESULT([no]),
dnl the text was not found, it was replaced by the cpp
- [ICC="yes"]
+ ICC="yes"
AC_MSG_RESULT([yes])
)