blob: 16e552da9674372430a8ba8e6156f26c762bbfd8 [file] [log] [blame]
Igor Sysoevdc867cd2003-12-14 20:10:27 +00001
2echo
3echo "Configuration summary"
4
Igor Sysoev0ee5d3c2004-02-20 16:48:59 +00005if [ $USE_PCRE = DISABLED ]; then
6 echo " + PCRE library is disabled"
7
8else
9 case $PCRE in
10 YES) echo " + using system PCRE library" ;;
Igor Sysoevfc5a10a2004-03-09 19:47:07 +000011 NONE) echo " + PCRE library is not used" ;;
Igor Sysoev0ee5d3c2004-02-20 16:48:59 +000012 NO) echo " + PCRE library is not found" ;;
13 *) echo " + using PCRE library: $PCRE" ;;
14 esac
15fi
Igor Sysoeve89c4582003-12-19 08:15:11 +000016
Igor Sysoevdc867cd2003-12-14 20:10:27 +000017case $MD5 in
Igor Sysoev0ee5d3c2004-02-20 16:48:59 +000018 YES) echo " + md5: using system $MD5_LIB library" ;;
Igor Sysoev7af6b162004-02-09 07:46:43 +000019 NONE) echo " + md5 library is not used" ;;
20 NO) echo " + md5 library is not found" ;;
21 *) echo " + using md5 library: $MD5" ;;
Igor Sysoevdc867cd2003-12-14 20:10:27 +000022esac
23
24case $ZLIB in
Igor Sysoev7af6b162004-02-09 07:46:43 +000025 YES) echo " + using system zlib library" ;;
26 NONE) echo " + zlib library is not used" ;;
27 NO) echo " + zlib library is not found" ;;
28 *) echo " + using zlib library: $ZLIB" ;;
Igor Sysoevdc867cd2003-12-14 20:10:27 +000029esac
30
31echo
Igor Sysoeve9b2cb12004-02-09 20:47:18 +000032
33
34if [ $HTTP_REWRITE = YES ]; then
35 if [ $PCRE = NONE -o $PCRE = NO ]; then
36 echo "$0: error: HTTP rewrite module requires PCRE library."
37 echo $ngx_n "You can disable the module by using" $ngx_c
38 echo "--without-http_rewrite_module option"
39 echo "or you have to enable PCRE support"
40 echo
Igor Sysoev6bb889f2004-03-11 15:42:41 +000041
Igor Sysoeve9b2cb12004-02-09 20:47:18 +000042 exit 1
43 fi
44fi
45
46
47if [ $HTTP_GZIP = YES ]; then
48 if [ $ZLIB = NONE -o $ZLIB = NO ]; then
49 echo "$0: error: HTTP gzip module requires zlib library."
50 echo $ngx_n "You can disable the module by using" $ngx_c
51 echo "--without-http_gzip_module option"
52 echo "or you have to enable zlib support"
53 echo
Igor Sysoev6bb889f2004-03-11 15:42:41 +000054
Igor Sysoeve9b2cb12004-02-09 20:47:18 +000055 exit 1
56 fi
57fi