Update and clean Tomato RAF files
[tomato.git] / release / src / router / nginx / auto / summary
blobdcebec9f0fef80e8c61fe88f869ab204ba28ed45
2 # Copyright (C) Igor Sysoev
3 # Copyright (C) Nginx, Inc.
6 ### STUB
8 if [ $USE_THREADS != NO ]; then
10 cat << END
12 $0: error: the threads support is broken now.
14 END
15         exit 1
16     fi
18 ###
21 echo
22 echo "Configuration summary"
25 #case $USE_THREADS in
26 #    rfork)         echo "  + using rfork()ed threads" ;;
27 #    pthreads)      echo "  + using libpthread threads library" ;;
28 #    libthr)        echo "  + using FreeBSD libthr threads library" ;;
29 #    libc_r)        echo "  + using FreeBSD libc_r threads library" ;;
30 #    linuxthreads)  echo "  + using FreeBSD LinuxThreads port library" ;;
31 #    NO)            echo "  + threads are not used" ;;
32 #    *)             echo "  + using lib$USE_THREADS threads library" ;;
33 #esac
35 if [ $USE_PCRE = DISABLED ]; then
36     echo "  + PCRE library is disabled"
38 else
39     case $PCRE in
40         YES)   echo "  + using system PCRE library" ;;
41         NONE)  echo "  + PCRE library is not used" ;;
42         *)     echo "  + using PCRE library: $PCRE" ;;
43     esac
46 case $OPENSSL in
47     YES)   echo "  + using system OpenSSL library" ;;
48     NONE)  echo "  + OpenSSL library is not used" ;;
49     *)     echo "  + using OpenSSL library: $OPENSSL" ;;
50 esac
52 case $MD5 in
53     YES)   echo "  + md5: using $MD5_LIB library" ;;
54     NONE)  echo "  + md5 library is not used" ;;
55     NO)    echo "  + using builtin md5 code" ;;
56     *)     echo "  + using md5 library: $MD5" ;;
57 esac
59 case $SHA1 in
60     YES)   echo "  + sha1: using $SHA1_LIB library" ;;
61     NONE)  echo "  + sha1 library is not used" ;;
62     NO)    echo "  + sha1 library is not found" ;;
63     *)     echo "  + using sha1 library: $SHA1" ;;
64 esac
66 case $ZLIB in
67     YES)   echo "  + using system zlib library" ;;
68     NONE)  echo "  + zlib library is not used" ;;
69     *)     echo "  + using zlib library: $ZLIB" ;;
70 esac
72 case $NGX_LIBATOMIC in
73     YES)   echo "  + using system libatomic_ops library" ;;
74     NO)    ;; # not used
75     *)     echo "  + using libatomic_ops library: $NGX_LIBATOMIC" ;;
76 esac
78 echo
81 cat << END
82   nginx path prefix: "$NGX_PREFIX"
83   nginx binary file: "$NGX_SBIN_PATH"
84   nginx configuration prefix: "$NGX_CONF_PREFIX"
85   nginx configuration file: "$NGX_CONF_PATH"
86   nginx pid file: "$NGX_PID_PATH"
87 END
89 if test -n "$NGX_ERROR_LOG_PATH"; then
90     echo "  nginx error log file: \"$NGX_ERROR_LOG_PATH\""
91 else
92     echo "  nginx logs errors to stderr"
95 cat << END
96   nginx http access log file: "$NGX_HTTP_LOG_PATH"
97   nginx http client request body temporary files: "$NGX_HTTP_CLIENT_TEMP_PATH"
98 END
100 if [ $HTTP_PROXY = YES ]; then
101     echo "  nginx http proxy temporary files: \"$NGX_HTTP_PROXY_TEMP_PATH\""
104 if [ $HTTP_FASTCGI = YES ]; then
105     echo "  nginx http fastcgi temporary files: \"$NGX_HTTP_FASTCGI_TEMP_PATH\""
108 if [ $HTTP_UWSGI = YES ]; then
109     echo "  nginx http uwsgi temporary files: \"$NGX_HTTP_UWSGI_TEMP_PATH\""
112 if [ $HTTP_SCGI = YES ]; then
113     echo "  nginx http scgi temporary files: \"$NGX_HTTP_SCGI_TEMP_PATH\""
116 echo "$NGX_POST_CONF_MSG"