]> granicus.if.org Git - php/commitdiff
set GCC to "no" if ICC was detected
authorAntony Dovgal <tony2001@php.net>
Thu, 24 Jul 2008 14:17:21 +0000 (14:17 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 24 Jul 2008 14:17:21 +0000 (14:17 +0000)
acinclude.m4

index 59eaed20174239f61bcda496c554bef07cdba010..9c081f01bafe9a122fe0daa73de29bcdcd0a7551 100644 (file)
@@ -2751,7 +2751,7 @@ ifelse([$2],[],[AC_MSG_ERROR([Cannot find php_pdo_driver.h.])],[$2])
 
 dnl
 dnl PHP_DETECT_ICC
-dnl
+dnl Detect Intel C++ Compiler and unset $GCC if ICC found
 AC_DEFUN([PHP_DETECT_ICC],
 [
   ICC="no"
@@ -2760,6 +2760,7 @@ AC_DEFUN([PHP_DETECT_ICC],
     ICC="no"
     AC_MSG_RESULT([no]),
     ICC="yes"
+    GCC="no"
     AC_MSG_RESULT([yes])
   )
 ])