2 # Copyright (C) Igor Sysoev
7 if [ $USE_THREADS != NO ]; then
11 $0: error: the threads support is broken now.
21 echo "Configuration summary"
25 # rfork) echo " + using rfork()ed threads" ;;
26 # pthreads) echo " + using libpthread threads library" ;;
27 # libthr) echo " + using FreeBSD libthr threads library" ;;
28 # libc_r) echo " + using FreeBSD libc_r threads library" ;;
29 # linuxthreads) echo " + using FreeBSD LinuxThreads port library" ;;
30 # NO) echo " + threads are not used" ;;
31 # *) echo " + using lib$USE_THREADS threads library" ;;
34 if [ $USE_PCRE = DISABLED ]; then
35 echo " + PCRE library is disabled"
39 YES) echo " + using system PCRE library" ;;
40 NONE) echo " + PCRE library is not used" ;;
41 NO) echo " + PCRE library is not found" ;;
42 *) echo " + using PCRE library: $PCRE" ;;
47 YES) echo " + using system OpenSSL library" ;;
48 NONE) echo " + OpenSSL library is not used" ;;
49 NO) echo " + OpenSSL library is not found" ;;
50 *) echo " + using OpenSSL library: $OPENSSL" ;;
54 YES) echo " + md5: using $MD5_LIB library" ;;
55 NONE) echo " + md5 library is not used" ;;
56 NO) echo " + md5 library is not found" ;;
57 *) echo " + using md5 library: $MD5" ;;
61 YES) echo " + sha1: using $SHA1_LIB library" ;;
62 NONE) echo " + sha1 library is not used" ;;
63 NO) echo " + sha1 library is not found" ;;
64 *) echo " + using sha1 library: $SHA1" ;;
68 YES) echo " + using system zlib library" ;;
69 NONE) echo " + zlib library is not used" ;;
70 NO) echo " + zlib library is not found" ;;
71 *) echo " + using zlib library: $ZLIB" ;;
77 if [ $HTTP_REWRITE = YES ]; then
78 if [ $USE_PCRE = DISABLED ]; then
81 $0: error: the HTTP rewrite module requires the PCRE library.
82 You can either disable the module by using --without-http_rewrite_module
83 option or you have to enable the PCRE support.
89 if [ $PCRE = NONE -o $PCRE = NO ]; then
92 $0: error: the HTTP rewrite module requires the PCRE library.
93 You can either disable the module by using --without-http_rewrite_module
94 option, or install the PCRE library into the system, or build the PCRE library
95 statically from the source with nginx by using --with-pcre=<path> option.
104 if [ $HTTP_GZIP = YES ]; then
105 if [ $ZLIB = NONE -o $ZLIB = NO ]; then
108 $0: error: the HTTP gzip module requires the zlib library.
109 You can either disable the module by using --without-http_gzip_module
110 option, or install the zlib library into the system, or build the zlib library
111 statically from the source with nginx by using --with-zlib=<path> option.
120 if [ $HTTP_SSL = YES ]; then
121 if [ $OPENSSL = NONE -o $OPENSSL = NO ]; then
124 $0: error: the HTTP SSL module requires the OpenSSL library.
125 You can either do not enable the module, or install the OpenSSL library
126 into the system, or build the OpenSSL library statically from the source
127 with nginx by using --with-openssl=<path> option.
137 nginx path prefix: "$NGX_PREFIX"
138 nginx binary file: "$NGX_SBIN_PATH"
139 nginx configuration prefix: "$NGX_CONF_PREFIX"
140 nginx configuration file: "$NGX_CONF_PATH"
141 nginx pid file: "$NGX_PID_PATH"
144 if test -n "$NGX_ERROR_LOG_PATH"; then
145 echo " nginx error log file: \"$NGX_ERROR_LOG_PATH\""
147 echo " nginx logs errors to stderr"
151 nginx http access log file: "$NGX_HTTP_LOG_PATH"
152 nginx http client request body temporary files: "$NGX_HTTP_CLIENT_TEMP_PATH"
153 nginx http proxy temporary files: "$NGX_HTTP_PROXY_TEMP_PATH"
154 nginx http fastcgi temporary files: "$NGX_HTTP_FASTCGI_TEMP_PATH"