summaryrefslogtreecommitdiffhomepage
path: root/auto/cc/name
diff options
context:
space:
mode:
Diffstat (limited to 'auto/cc/name')
-rw-r--r--auto/cc/name3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/cc/name b/auto/cc/name
index fb4f49aaf..c89ce7975 100644
--- a/auto/cc/name
+++ b/auto/cc/name
@@ -34,7 +34,7 @@ if `$CC -v 2>&1 | grep 'gcc version' 2>&1 >/dev/null`; then
echo " using GNU C compiler"
else
-if `$CC -V 2>&1 | grep '^Intel(R) C++ Compiler' 2>&1 >/dev/null`; then
+if `$CC -V 2>&1 | grep '^Intel(R) C' 2>&1 >/dev/null`; then
NGX_CC_NAME=icc
echo " using Intel C++ compiler"
@@ -49,6 +49,7 @@ if `$CC -V 2>&1 | grep '^aCC: ' 2>&1 >/dev/null`; then
echo " using HP aC++ compiler"
else
+ NGX_CC_NAME=unknown
echo " unknown"
fi # acc