nginx-0.0.2-2004-03-11-18:42:41 import
diff --git a/auto/os/solaris b/auto/os/solaris
index 7c2caf4..f1ac0f9 100644
--- a/auto/os/solaris
+++ b/auto/os/solaris
@@ -15,16 +15,24 @@
case $PLATFORM in
SunOS:5.[89]:* | SunOS:5.10:*)
- CFLAGS="$CFLAGS -pipe"
+ PIPE="-pipe"
;;
*)
- # Solaris 7's gcc does not support "-pipe"
+ # Solaris 7's /usr/ccs/bin/as does not support "-pipe"
;;
esac
+if [ $ZLIB_ASM != NO ]; then
+ echo "$0: error: the --with-zlib-asm=CPU option is not supported"
+ echo "on that platform"
+ echo
+
+ exit 1
+fi
+
ngx_inc="sys/devpoll.h"; . auto/inc