comparison auto/summary @ 0:f0b350454894 NGINX_0_1_0

nginx 0.1.0 *) The first public version.
author Igor Sysoev <http://sysoev.ru>
date Mon, 04 Oct 2004 00:00:00 +0400
parents
children 80ba094c6b3e
comparison
equal deleted inserted replaced
-1:000000000000 0:f0b350454894
1
2 # Copyright (C) Igor Sysoev
3
4
5 echo
6 echo "Configuration summary"
7
8
9 if [ $USE_PCRE = DISABLED ]; then
10 echo " + PCRE library is disabled"
11
12 else
13 case $PCRE in
14 YES) echo " + using system PCRE library" ;;
15 NONE) echo " + PCRE library is not used" ;;
16 NO) echo " + PCRE library is not found" ;;
17 *) echo " + using PCRE library: $PCRE" ;;
18 esac
19 fi
20
21 case $MD5 in
22 YES) echo " + md5: using system $MD5_LIB library" ;;
23 NONE) echo " + md5 library is not used" ;;
24 NO) echo " + md5 library is not found" ;;
25 *) echo " + using md5 library: $MD5" ;;
26 esac
27
28 case $OPENSSL in
29 YES) echo " + using system OpenSSL library" ;;
30 NONE) echo " + OpenSSL library is not used" ;;
31 NO) echo " + OpenSSL library is not found" ;;
32 *) echo " + using OpenSSL library: $OPENSSL" ;;
33 esac
34
35 case $ZLIB in
36 YES) echo " + using system zlib library" ;;
37 NONE) echo " + zlib library is not used" ;;
38 NO) echo " + zlib library is not found" ;;
39 *) echo " + using zlib library: $ZLIB" ;;
40 esac
41
42 echo
43
44
45 if [ $HTTP_REWRITE = YES ]; then
46 if [ $USE_PCRE = DISABLED ]; then
47
48 cat << END
49 $0: error: the HTTP rewrite module requires the PCRE library.
50 You can either disable the module by using --without-http_rewrite_module
51 option or you have to enable the PCRE support.
52
53 END
54 exit 1
55 fi
56
57 if [ $PCRE = NONE -o $PCRE = NO ]; then
58
59 cat << END
60 $0: error: the HTTP rewrite module requires the PCRE library.
61 You can either disable the module by using --without-http_rewrite_module
62 option, or install the PCRE library into the system, or build the PCRE library
63 statically from the source with nginx by using --with-pcre=<path> option.
64
65 END
66
67 exit 1
68 fi
69 fi
70
71
72 if [ $HTTP_GZIP = YES ]; then
73 if [ $ZLIB = NONE -o $ZLIB = NO ]; then
74
75 cat << END
76 $0: error: the HTTP gzip module requires the zlib library.
77 You can either disable the module by using --without-http_gzip_module
78 option, or install the zlib library into the system, or build the zlib library
79 statically from the source with nginx by using --with-zlib=<path> option.
80
81 END
82
83 exit 1
84 fi
85 fi
86
87
88 echo " nginx path prefix: $PREFIX"
89 echo " nginx binary file: $SBIN_PATH"
90 echo " nginx configuration file: $CONF_PATH"
91 echo " nginx pid file: $PID_PATH"
92 if [ ".$ERROR_LOG_PATH" != "." ]; then
93 echo " nginx error log file: $ERROR_LOG_PATH"
94 else
95 echo " nginx logs errors to stderr"
96 fi
97 echo " nginx http access log file: $HTTP_LOG_PATH"
98 echo