blob: b1b1de86049fcd78f694e2acc434c8925c7adbbd [file] [log] [blame]
Igor Sysoevdc867cd2003-12-14 20:10:27 +00001
Igor Sysoevff8da912004-09-29 16:00:49 +00002# Copyright (C) Igor Sysoev
3
4
Igor Sysoev31eb8c02005-09-23 11:02:22 +00005### STUB
6
7if [ $USE_THREADS != NO ]; then
8
9cat << END
10
11$0: error: the threads support is broken now.
12
13END
14 exit 1
15 fi
16
17###
18
19
Igor Sysoevdc867cd2003-12-14 20:10:27 +000020echo
21echo "Configuration summary"
22
Igor Sysoev090849d2004-05-18 20:28:54 +000023
Igor Sysoev84433602008-04-29 09:27:55 +000024#case $USE_THREADS in
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" ;;
32#esac
Igor Sysoev723e6cc2004-10-25 15:29:23 +000033
Igor Sysoev0ee5d3c2004-02-20 16:48:59 +000034if [ $USE_PCRE = DISABLED ]; then
Igor Sysoevc1571722005-03-19 12:38:37 +000035 echo " + PCRE library is disabled"
Igor Sysoev0ee5d3c2004-02-20 16:48:59 +000036
37else
38 case $PCRE in
Igor Sysoeve2ff3ea2004-09-14 15:55:24 +000039 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" ;;
Igor Sysoev0ee5d3c2004-02-20 16:48:59 +000043 esac
44fi
Igor Sysoeve89c4582003-12-19 08:15:11 +000045
Igor Sysoev0599b112004-07-25 18:34:14 +000046case $OPENSSL in
Igor Sysoeve2ff3ea2004-09-14 15:55:24 +000047 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" ;;
Igor Sysoev0599b112004-07-25 18:34:14 +000051esac
52
Igor Sysoevb1dfe472004-12-21 12:30:30 +000053case $MD5 in
Igor Sysoev76566f82008-05-16 14:32:58 +000054 YES) echo " + md5: using $MD5_LIB library" ;;
Igor Sysoevb1dfe472004-12-21 12:30:30 +000055 NONE) echo " + md5 library is not used" ;;
56 NO) echo " + md5 library is not found" ;;
57 *) echo " + using md5 library: $MD5" ;;
58esac
59
Igor Sysoevafd7ec52006-05-29 17:28:12 +000060case $SHA1 in
Igor Sysoev76566f82008-05-16 14:32:58 +000061 YES) echo " + sha1: using $SHA1_LIB library" ;;
Igor Sysoevafd7ec52006-05-29 17:28:12 +000062 NONE) echo " + sha1 library is not used" ;;
63 NO) echo " + sha1 library is not found" ;;
64 *) echo " + using sha1 library: $SHA1" ;;
65esac
66
Igor Sysoevdc867cd2003-12-14 20:10:27 +000067case $ZLIB in
Igor Sysoeve2ff3ea2004-09-14 15:55:24 +000068 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" ;;
Igor Sysoevdc867cd2003-12-14 20:10:27 +000072esac
73
Igor Sysoev77304c62009-12-08 12:53:54 +000074case $NGX_LIBATOMIC in
75 YES) echo " + using system libatomic_ops library" ;;
76 NO) ;; # not used
77 *) echo " + using libatomic_ops library: $NGX_LIBATOMIC" ;;
78esac
79
Igor Sysoevdc867cd2003-12-14 20:10:27 +000080echo
Igor Sysoeve9b2cb12004-02-09 20:47:18 +000081
82
Igor Sysoev02025fd2005-01-18 13:03:58 +000083cat << END
Igor Sysoevd039a2e2005-02-22 14:40:13 +000084 nginx path prefix: "$NGX_PREFIX"
85 nginx binary file: "$NGX_SBIN_PATH"
Igor Sysoeva1df4162007-07-29 18:05:45 +000086 nginx configuration prefix: "$NGX_CONF_PREFIX"
Igor Sysoevd039a2e2005-02-22 14:40:13 +000087 nginx configuration file: "$NGX_CONF_PATH"
88 nginx pid file: "$NGX_PID_PATH"
Igor Sysoev02025fd2005-01-18 13:03:58 +000089END
90
Igor Sysoevf6906042004-11-25 16:17:31 +000091if test -n "$NGX_ERROR_LOG_PATH"; then
Igor Sysoevd039a2e2005-02-22 14:40:13 +000092 echo " nginx error log file: \"$NGX_ERROR_LOG_PATH\""
Igor Sysoevff8da912004-09-29 16:00:49 +000093else
94 echo " nginx logs errors to stderr"
95fi
Igor Sysoev02025fd2005-01-18 13:03:58 +000096
97cat << END
Igor Sysoevd039a2e2005-02-22 14:40:13 +000098 nginx http access log file: "$NGX_HTTP_LOG_PATH"
99 nginx http client request body temporary files: "$NGX_HTTP_CLIENT_TEMP_PATH"
Igor Sysoev02025fd2005-01-18 13:03:58 +0000100END
Igor Sysoevb163e952010-06-01 20:32:32 +0000101
102if [ $HTTP_PROXY = YES ]; then
103 echo " nginx http proxy temporary files: \"$NGX_HTTP_PROXY_TEMP_PATH\""
104fi
105
106if [ $HTTP_FASTCGI = YES ]; then
107 echo " nginx http fastcgi temporary files: \"$NGX_HTTP_FASTCGI_TEMP_PATH\""
108fi
109
110if [ $HTTP_UWSGI = YES ]; then
111 echo " nginx http uwsgi temporary files: \"$NGX_HTTP_UWSGI_TEMP_PATH\""
112fi
113