Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'auto/cc/name')
-rw-r--r--auto/cc/name6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/cc/name b/auto/cc/name
index c89ce7975..faa329075 100644
--- a/auto/cc/name
+++ b/auto/cc/name
@@ -39,6 +39,11 @@ if `$CC -V 2>&1 | grep '^Intel(R) C' 2>&1 >/dev/null`; then
echo " using Intel C++ compiler"
else
+if `$CC -V 2>&1 | grep 'Sun C' 2>&1 >/dev/null`; then
+ NGX_CC_NAME=sunc
+ echo " using Sun C compiler"
+
+else
if `$CC -V 2>&1 | grep '^Compaq C' 2>&1 >/dev/null`; then
NGX_CC_NAME=ccc
echo " using Compaq C compiler"
@@ -54,6 +59,7 @@ else
fi # acc
fi # ccc
+fi # sunc
fi # icc
fi # gcc
fi # bcc