From 599249c55391a01c7185ec4a0a11b4468f7565c1 Mon Sep 17 00:00:00 2001
From: Mikko Koppanen <mkoppanen@php.net>
Date: Tue, 23 Nov 2010 10:27:56 +0000
Subject: [PATCH 4/4] _AC_LANG_ABBREV expands to "cxx", not "cpp"

Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index 240a0b5..7bf4b25 100644
--- a/configure.in
+++ b/configure.in
@@ -47,7 +47,7 @@ if test "x$GCC" = "xyes" -a "x$GXX" = "xyes"; then
     gnu_compilers="yes"
     
     # ICC is detected as GNU compiler, make sure that it's not being used as one
-    if test "xyes" = "x$ac_cv_c_intel_compiler" -o "xyes" = "x$ac_cv_cpp_intel_compiler"; then
+    if test "xyes" = "x$ac_cv_c_intel_compiler" -o "xyes" = "x$ac_cv_cxx_intel_compiler"; then
         gnu_compilers="no"
     fi
 else
-- 
1.7.1

