diff auto/os/solaris @ 285:8f48e6366d09

nginx-0.0.2-2004-03-11-18:42:41 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 11 Mar 2004 15:42:41 +0000
parents 8f65fee68270
children bd39260a1383
line wrap: on
line diff
--- a/auto/os/solaris
+++ b/auto/os/solaris
@@ -15,16 +15,24 @@ CC_TEST_FLAGS="-D_FILE_OFFSET_BITS=64"
 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