diff options
author | Antony Dovgal <tony2001@php.net> | 2006-12-04 18:28:49 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-12-04 18:28:49 +0000 |
commit | ebef6661dfaa292583d79576a694e71b5178fedf (patch) | |
tree | 25f60c81ef8481a1cded79456ef1f2ba27bd6345 /acinclude.m4 | |
parent | 44a3cad930f61b672b0a8758f9e2df1b1d610a47 (diff) | |
download | php-git-ebef6661dfaa292583d79576a694e71b5178fedf.tar.gz |
MFH: fix build with Sun compiler, which doesn't support -O0
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index d941ab7656..efc7ccca0f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2574,3 +2574,19 @@ ifelse([$1],[],:,[$1]) ifelse([$2],[],[AC_MSG_ERROR([Cannot find php_pdo_driver.h.])],[$2]) fi ]) + +dnl +dnl PHP_DETECT_ICC +dnl +AC_DEFUN([PHP_DETECT_ICC], +[ + ICC="no" + AC_MSG_CHECKING([for icc]) + AC_EGREP_CPP([^__INTEL_COMPILER], [__INTEL_COMPILER], + ICC="no" + AC_MSG_RESULT([no]), + ICC="yes" + AC_MSG_RESULT([yes]) + ) +]) + |