blob: 9769180b06bcc3b291a9328b09d539076a44d775 [file] [log] [blame]
Igor Sysoevdc867cd2003-12-14 20:10:27 +00001
2echo
3echo "Configuration summary"
4
Igor Sysoev090849d2004-05-18 20:28:54 +00005
Igor Sysoev0ee5d3c2004-02-20 16:48:59 +00006if [ $USE_PCRE = DISABLED ]; then
7 echo " + PCRE library is disabled"
8
9else
10 case $PCRE in
11 YES) echo " + using system PCRE library" ;;
Igor Sysoevfc5a10a2004-03-09 19:47:07 +000012 NONE) echo " + PCRE library is not used" ;;
Igor Sysoev0ee5d3c2004-02-20 16:48:59 +000013 NO) echo " + PCRE library is not found" ;;
14 *) echo " + using PCRE library: $PCRE" ;;
15 esac
16fi
Igor Sysoeve89c4582003-12-19 08:15:11 +000017
Igor Sysoevdc867cd2003-12-14 20:10:27 +000018case $MD5 in
Igor Sysoev0ee5d3c2004-02-20 16:48:59 +000019 YES) echo " + md5: using system $MD5_LIB library" ;;
Igor Sysoev7af6b162004-02-09 07:46:43 +000020 NONE) echo " + md5 library is not used" ;;
21 NO) echo " + md5 library is not found" ;;
22 *) echo " + using md5 library: $MD5" ;;
Igor Sysoevdc867cd2003-12-14 20:10:27 +000023esac
24
25case $ZLIB in
Igor Sysoev7af6b162004-02-09 07:46:43 +000026 YES) echo " + using system zlib library" ;;
27 NONE) echo " + zlib library is not used" ;;
28 NO) echo " + zlib library is not found" ;;
29 *) echo " + using zlib library: $ZLIB" ;;
Igor Sysoevdc867cd2003-12-14 20:10:27 +000030esac
31
32echo
Igor Sysoeve9b2cb12004-02-09 20:47:18 +000033
34
35if [ $HTTP_REWRITE = YES ]; then
36 if [ $PCRE = NONE -o $PCRE = NO ]; then
37 echo "$0: error: HTTP rewrite module requires PCRE library."
38 echo $ngx_n "You can disable the module by using" $ngx_c
39 echo "--without-http_rewrite_module option"
40 echo "or you have to enable PCRE support"
41 echo
Igor Sysoev6bb889f2004-03-11 15:42:41 +000042
Igor Sysoeve9b2cb12004-02-09 20:47:18 +000043 exit 1
44 fi
45fi
46
47
48if [ $HTTP_GZIP = YES ]; then
49 if [ $ZLIB = NONE -o $ZLIB = NO ]; then
50 echo "$0: error: HTTP gzip module requires zlib library."
51 echo $ngx_n "You can disable the module by using" $ngx_c
52 echo "--without-http_gzip_module option"
53 echo "or you have to enable zlib support"
54 echo
Igor Sysoev6bb889f2004-03-11 15:42:41 +000055
Igor Sysoeve9b2cb12004-02-09 20:47:18 +000056 exit 1
57 fi
58fi
Igor Sysoev090849d2004-05-18 20:28:54 +000059
60
61echo " nginx path prefix: $PREFIX"
62echo " nginx binary file: $SBIN_PATH"
63echo " nginx configuration file: $CONF_PATH"
64echo " nginx pid file: $PID_PATH"
65echo " nginx error log file: $ERROR_LOG_PATH"
66echo " nginx http access log file: $HTTP_LOG_PATH"
67echo