nginx-0.3.2-RELEASE import
*) Feature: the Sun Studio 10 C compiler support.
*) Feature: the "proxy_upstream_max_fails",
"proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and
"fastcgi_upstream_fail_timeout" directives.
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf
index c8c47e2..0370fe0 100644
--- a/auto/lib/openssl/conf
+++ b/auto/lib/openssl/conf
@@ -36,6 +36,12 @@
if [ $ngx_found = yes ]; then
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
OPENSSL=YES
+
+ case "$NGX_SYSTEM" in
+ SunOS)
+ CORE_LIBS="$CORE_LIBS -ldl"
+ ;;
+ esac
fi
fi
diff --git a/auto/lib/pcre/conf b/auto/lib/pcre/conf
index 1b79f94..946b26e 100644
--- a/auto/lib/pcre/conf
+++ b/auto/lib/pcre/conf
@@ -17,7 +17,7 @@
CORE_LIBS="$CORE_LIBS $PCRE/pcre.lib"
;;
- icc*)
+ icc* | sunc )
have=NGX_PCRE . auto/have
CORE_DEPS="$CORE_DEPS $PCRE/pcre.h"