blob: febbc2783d0253b1d09b349e103b4c307dfe2f96 [file] [log] [blame]
Igor Sysoeva8fa0a62003-11-25 20:44:56 +00001
Igor Sysoevff8da912004-09-29 16:00:49 +00002# Copyright (C) Igor Sysoev
Maxim Konovalovf8d59e32012-01-18 15:07:43 +00003# Copyright (C) Nginx, Inc.
Igor Sysoevff8da912004-09-29 16:00:49 +00004
Igor Sysoevc0edbcc2004-10-21 15:34:38 +00005
Igor Sysoevdc867cd2003-12-14 20:10:27 +00006help=no
Igor Sysoeva8fa0a62003-11-25 20:44:56 +00007
Igor Sysoevf6906042004-11-25 16:17:31 +00008NGX_PREFIX=
9NGX_SBIN_PATH=
Igor Sysoeva1df4162007-07-29 18:05:45 +000010NGX_CONF_PREFIX=
Igor Sysoevf6906042004-11-25 16:17:31 +000011NGX_CONF_PATH=
12NGX_ERROR_LOG_PATH=
13NGX_PID_PATH=
Igor Sysoevffe71442006-02-08 15:33:12 +000014NGX_LOCK_PATH=
Igor Sysoevc0edbcc2004-10-21 15:34:38 +000015NGX_USER=
16NGX_GROUP=
Ruslan Ermilov1736c182014-05-20 16:10:07 +040017NGX_BUILD=
Igor Sysoev090849d2004-05-18 20:28:54 +000018
Gleb Smirnoff35c17ea2013-02-18 11:35:28 +000019CC=${CC:-cc}
Igor Sysoeva893eab2004-03-11 21:34:52 +000020CPP=
Igor Sysoevc0edbcc2004-10-21 15:34:38 +000021NGX_OBJS=objs
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000022
Igor Sysoevf6906042004-11-25 16:17:31 +000023NGX_DEBUG=NO
Igor Sysoevc0edbcc2004-10-21 15:34:38 +000024NGX_CC_OPT=
25NGX_LD_OPT=
Igor Sysoev7b908342004-03-10 20:56:39 +000026CPU=NO
Igor Sysoev24b56c92004-03-10 17:55:19 +000027
Igor Sysoev274b63e2007-09-19 12:14:05 +000028NGX_RPATH=NO
29
Igor Sysoevf6906042004-11-25 16:17:31 +000030NGX_TEST_BUILD_DEVPOLL=NO
Igor Sysoev4524fb02006-09-26 12:20:12 +000031NGX_TEST_BUILD_EVENTPORT=NO
Igor Sysoevf6906042004-11-25 16:17:31 +000032NGX_TEST_BUILD_EPOLL=NO
Igor Sysoev42b12b32004-12-02 18:40:46 +000033NGX_TEST_BUILD_SOLARIS_SENDFILEV=NO
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000034
Igor Sysoevf6906042004-11-25 16:17:31 +000035NGX_PLATFORM=
Igor Sysoev1b735832004-11-11 14:07:14 +000036NGX_WINE=
37
Igor Sysoeva4b16df2004-02-02 21:19:52 +000038EVENT_FOUND=NO
39
40EVENT_SELECT=NO
41EVENT_POLL=NO
Igor Sysoev5c8c52f2004-01-23 09:26:18 +000042
Igor Sysoevb54698b2004-02-23 20:57:12 +000043USE_THREADS=NO
44
Igor Sysoeva9625062009-08-28 08:12:35 +000045NGX_FILE_AIO=NO
Igor Sysoeva35eacc2009-02-21 07:02:02 +000046NGX_IPV6=NO
47
Igor Sysoev980a9242004-09-05 19:54:02 +000048HTTP=YES
Igor Sysoev02025fd2005-01-18 13:03:58 +000049
50NGX_HTTP_LOG_PATH=
51NGX_HTTP_CLIENT_TEMP_PATH=
52NGX_HTTP_PROXY_TEMP_PATH=
53NGX_HTTP_FASTCGI_TEMP_PATH=
Igor Sysoeve45b8922010-06-01 17:44:51 +000054NGX_HTTP_UWSGI_TEMP_PATH=
Igor Sysoevee5f9e52010-06-18 15:51:14 +000055NGX_HTTP_SCGI_TEMP_PATH=
Igor Sysoev02025fd2005-01-18 13:03:58 +000056
Igor Sysoev52859f22009-03-23 13:14:51 +000057HTTP_CACHE=YES
Igor Sysoev3d5c0fc2004-06-22 16:43:09 +000058HTTP_CHARSET=YES
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000059HTTP_GZIP=YES
Igor Sysoev75569452004-07-08 15:17:47 +000060HTTP_SSL=NO
Valentin Bartenev2686cb42013-03-20 10:36:57 +000061HTTP_SPDY=NO
Igor Sysoev11d75322005-03-01 15:20:36 +000062HTTP_SSI=YES
Igor Sysoev899b44e2005-05-12 14:58:06 +000063HTTP_POSTPONE=NO
Igor Sysoev09c684b2005-11-09 17:25:55 +000064HTTP_REALIP=NO
Igor Sysoev1ae389d2008-08-04 14:48:15 +000065HTTP_XSLT=NO
Igor Sysoeve2ada612009-05-01 18:42:09 +000066HTTP_IMAGE_FILTER=NO
Igor Sysoevd9bb8e32007-04-19 17:54:23 +000067HTTP_SUB=NO
Igor Sysoev6d16e1e2006-04-05 13:40:54 +000068HTTP_ADDITION=NO
Igor Sysoev8a2b2fb2006-04-14 09:53:38 +000069HTTP_DAV=NO
Igor Sysoev59f3aa32004-06-24 16:07:04 +000070HTTP_ACCESS=YES
Igor Sysoev4d656dc2005-03-22 16:02:46 +000071HTTP_AUTH_BASIC=YES
Maxim Dounin4c53a382013-08-21 19:19:47 +040072HTTP_AUTH_REQUEST=NO
Igor Sysoev967fd632004-08-27 15:40:59 +000073HTTP_USERID=YES
Igor Sysoev723e6cc2004-10-25 15:29:23 +000074HTTP_AUTOINDEX=YES
Igor Sysoev2e2b81d2008-09-05 15:45:55 +000075HTTP_RANDOM_INDEX=NO
Igor Sysoev6d2a14a2004-09-27 16:03:21 +000076HTTP_STATUS=NO
Igor Sysoev805d9db2005-02-03 19:33:37 +000077HTTP_GEO=YES
Igor Sysoevbc101472009-07-20 07:10:43 +000078HTTP_GEOIP=NO
Igor Sysoev24025022005-12-16 15:07:08 +000079HTTP_MAP=YES
Igor Sysoevfadd4bd2010-05-14 09:02:10 +000080HTTP_SPLIT_CLIENTS=YES
Igor Sysoev0e5dc5c2005-11-15 13:30:52 +000081HTTP_REFERER=YES
Igor Sysoevc83f6832004-06-24 07:53:37 +000082HTTP_REWRITE=YES
Igor Sysoeva8fa0a62003-11-25 20:44:56 +000083HTTP_PROXY=YES
Igor Sysoev02025fd2005-01-18 13:03:58 +000084HTTP_FASTCGI=YES
Igor Sysoev3a881d32010-06-01 15:53:11 +000085HTTP_UWSGI=YES
Igor Sysoevee5f9e52010-06-18 15:51:14 +000086HTTP_SCGI=YES
Igor Sysoev9bf11aa2006-01-16 14:56:53 +000087HTTP_PERL=NO
Igor Sysoevc31a9bb2005-11-26 10:11:11 +000088HTTP_MEMCACHED=YES
Valentin Bartenev255e20a2011-11-14 14:04:42 +000089HTTP_LIMIT_CONN=YES
Igor Sysoevabe378e2008-11-10 15:22:33 +000090HTTP_LIMIT_REQ=YES
Igor Sysoev0e5dc5c2005-11-15 13:30:52 +000091HTTP_EMPTY_GIF=YES
Igor Sysoev3383ff62006-09-18 12:25:07 +000092HTTP_BROWSER=YES
Igor Sysoeve52991e2008-09-27 13:22:10 +000093HTTP_SECURE_LINK=NO
Igor Sysoev49851092009-11-16 12:20:00 +000094HTTP_DEGRADATION=NO
Igor Sysoevb5050062006-10-09 14:17:36 +000095HTTP_FLV=NO
Igor Sysoevdde4d7e2011-09-09 10:22:34 +000096HTTP_MP4=NO
Maxim Dounin90bd33e2012-09-10 16:52:47 +000097HTTP_GUNZIP=NO
Igor Sysoevc16b0052007-12-27 14:21:59 +000098HTTP_GZIP_STATIC=NO
Roman Arutyunyan9b5a17b2014-06-02 16:16:22 +040099HTTP_UPSTREAM_HASH=YES
Igor Sysoev3d2fd182006-12-04 16:46:13 +0000100HTTP_UPSTREAM_IP_HASH=YES
Maxim Dounin4cb4e8d2012-06-03 23:21:26 +0000101HTTP_UPSTREAM_LEAST_CONN=YES
Maxim Dounin44002e52011-09-15 19:28:18 +0000102HTTP_UPSTREAM_KEEPALIVE=YES
Ruslan Ermilovbbc5a9e2015-04-14 19:01:25 +0300103HTTP_UPSTREAM_ZONE=YES
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000104
Igor Sysoevaa828612005-02-09 14:31:07 +0000105# STUB
106HTTP_STUB_STATUS=NO
107
Igor Sysoev02c8d182007-03-19 13:36:56 +0000108MAIL=NO
109MAIL_SSL=NO
Igor Sysoev48714082007-09-15 16:51:16 +0000110MAIL_POP3=YES
111MAIL_IMAP=YES
112MAIL_SMTP=YES
Igor Sysoev59cf56c2004-09-07 15:29:22 +0000113
Ruslan Ermilov472f0fa2015-04-20 13:05:11 +0300114STREAM=NO
115STREAM_SSL=NO
Vladimir Homutovfbbedf32015-06-04 13:04:12 +0300116STREAM_ACCESS=YES
Ruslan Ermilov472f0fa2015-04-20 13:05:11 +0300117STREAM_UPSTREAM_HASH=YES
118STREAM_UPSTREAM_LEAST_CONN=YES
119STREAM_UPSTREAM_ZONE=YES
120
Igor Sysoev1ebfead2005-02-16 13:40:36 +0000121NGX_ADDONS=
Igor Sysoevd43bee82004-11-20 19:52:20 +0000122
Igor Sysoeve9b2cb12004-02-09 20:47:18 +0000123USE_PCRE=NO
Igor Sysoev43c3cd92004-02-19 08:45:27 +0000124PCRE=NONE
Igor Sysoeva893eab2004-03-11 21:34:52 +0000125PCRE_OPT=
Valentin Bartenevbc5191c2011-12-26 13:10:36 +0000126PCRE_CONF_OPT=
127PCRE_JIT=NO
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000128
Igor Sysoev0599b112004-07-25 18:34:14 +0000129USE_OPENSSL=NO
130OPENSSL=NONE
131
Igor Sysoeva4b16df2004-02-02 21:19:52 +0000132USE_MD5=NO
Igor Sysoev7af6b162004-02-09 07:46:43 +0000133MD5=NONE
Igor Sysoeva893eab2004-03-11 21:34:52 +0000134MD5_OPT=
Igor Sysoev7b908342004-03-10 20:56:39 +0000135MD5_ASM=NO
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000136
Igor Sysoevafd7ec52006-05-29 17:28:12 +0000137USE_SHA1=NO
138SHA1=NONE
139SHA1_OPT=
140SHA1_ASM=NO
141
Igor Sysoeva4b16df2004-02-02 21:19:52 +0000142USE_ZLIB=NO
Igor Sysoev7af6b162004-02-09 07:46:43 +0000143ZLIB=NONE
Igor Sysoeva893eab2004-03-11 21:34:52 +0000144ZLIB_OPT=
Igor Sysoev7b908342004-03-10 20:56:39 +0000145ZLIB_ASM=NO
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000146
Igor Sysoev9bf11aa2006-01-16 14:56:53 +0000147USE_PERL=NO
148NGX_PERL=perl
149
Igor Sysoev1ae389d2008-08-04 14:48:15 +0000150USE_LIBXSLT=NO
Igor Sysoeve2ada612009-05-01 18:42:09 +0000151USE_LIBGD=NO
Igor Sysoev1ae389d2008-08-04 14:48:15 +0000152
Igor Sysoev85dd8fc2008-03-18 10:36:27 +0000153NGX_GOOGLE_PERFTOOLS=NO
Igor Sysoeve24b57a2008-08-05 19:32:50 +0000154NGX_CPP_TEST=NO
Igor Sysoev85dd8fc2008-03-18 10:36:27 +0000155
Igor Sysoev213cad82009-11-25 17:55:25 +0000156NGX_LIBATOMIC=NO
157
Igor Sysoev24025022005-12-16 15:07:08 +0000158NGX_CPU_CACHE_LINE=
159
Valentin Bartenev255e20a2011-11-14 14:04:42 +0000160NGX_POST_CONF_MSG=
161
Igor Sysoev0e60e4f2009-04-26 19:37:38 +0000162opt=
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000163
164for option
165do
Igor Sysoevcfa2ee22009-05-18 16:50:32 +0000166 opt="$opt `echo $option | sed -e \"s/\(--[^=]*=\)\(.* .*\)/\1'\2'/\"`"
Igor Sysoev0e60e4f2009-04-26 19:37:38 +0000167
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000168 case "$option" in
169 -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;;
170 *) value="" ;;
171 esac
172
173 case "$option" in
Igor Sysoevdc867cd2003-12-14 20:10:27 +0000174 --help) help=yes ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000175
Igor Sysoev5ef370d2009-04-27 11:32:33 +0000176 --prefix=) NGX_PREFIX="!" ;;
Igor Sysoevf6906042004-11-25 16:17:31 +0000177 --prefix=*) NGX_PREFIX="$value" ;;
178 --sbin-path=*) NGX_SBIN_PATH="$value" ;;
179 --conf-path=*) NGX_CONF_PATH="$value" ;;
180 --error-log-path=*) NGX_ERROR_LOG_PATH="$value";;
181 --pid-path=*) NGX_PID_PATH="$value" ;;
Igor Sysoevffe71442006-02-08 15:33:12 +0000182 --lock-path=*) NGX_LOCK_PATH="$value" ;;
Igor Sysoevc0edbcc2004-10-21 15:34:38 +0000183 --user=*) NGX_USER="$value" ;;
184 --group=*) NGX_GROUP="$value" ;;
Igor Sysoev090849d2004-05-18 20:28:54 +0000185
Igor Sysoevf6906042004-11-25 16:17:31 +0000186 --crossbuild=*) NGX_PLATFORM="$value" ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000187
Ruslan Ermilov1736c182014-05-20 16:10:07 +0400188 --build=*) NGX_BUILD="$value" ;;
Igor Sysoevc0edbcc2004-10-21 15:34:38 +0000189 --builddir=*) NGX_OBJS="$value" ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000190
Igor Sysoeva4b16df2004-02-02 21:19:52 +0000191 --with-select_module) EVENT_SELECT=YES ;;
Igor Sysoeve9b2cb12004-02-09 20:47:18 +0000192 --without-select_module) EVENT_SELECT=NONE ;;
Igor Sysoeva4b16df2004-02-02 21:19:52 +0000193 --with-poll_module) EVENT_POLL=YES ;;
Igor Sysoeve9b2cb12004-02-09 20:47:18 +0000194 --without-poll_module) EVENT_POLL=NONE ;;
Igor Sysoev5c8c52f2004-01-23 09:26:18 +0000195
Valentin Bartenev27e49d72015-03-14 17:37:07 +0300196 --with-threads) USE_THREADS=YES ;;
197
Igor Sysoeva9625062009-08-28 08:12:35 +0000198 --with-file-aio) NGX_FILE_AIO=YES ;;
Igor Sysoeva35eacc2009-02-21 07:02:02 +0000199 --with-ipv6) NGX_IPV6=YES ;;
200
Igor Sysoev980a9242004-09-05 19:54:02 +0000201 --without-http) HTTP=NO ;;
Igor Sysoev52859f22009-03-23 13:14:51 +0000202 --without-http-cache) HTTP_CACHE=NO ;;
203
Igor Sysoevf6906042004-11-25 16:17:31 +0000204 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;;
Igor Sysoev02025fd2005-01-18 13:03:58 +0000205 --http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;;
206 --http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;;
207 --http-fastcgi-temp-path=*) NGX_HTTP_FASTCGI_TEMP_PATH="$value" ;;
Igor Sysoeve45b8922010-06-01 17:44:51 +0000208 --http-uwsgi-temp-path=*) NGX_HTTP_UWSGI_TEMP_PATH="$value" ;;
Igor Sysoevee5f9e52010-06-18 15:51:14 +0000209 --http-scgi-temp-path=*) NGX_HTTP_SCGI_TEMP_PATH="$value" ;;
Igor Sysoev980a9242004-09-05 19:54:02 +0000210
Igor Sysoev75569452004-07-08 15:17:47 +0000211 --with-http_ssl_module) HTTP_SSL=YES ;;
Valentin Bartenev2686cb42013-03-20 10:36:57 +0000212 --with-http_spdy_module) HTTP_SPDY=YES ;;
Igor Sysoev09c684b2005-11-09 17:25:55 +0000213 --with-http_realip_module) HTTP_REALIP=YES ;;
Igor Sysoev6d16e1e2006-04-05 13:40:54 +0000214 --with-http_addition_module) HTTP_ADDITION=YES ;;
Igor Sysoev1ae389d2008-08-04 14:48:15 +0000215 --with-http_xslt_module) HTTP_XSLT=YES ;;
Igor Sysoeve2ada612009-05-01 18:42:09 +0000216 --with-http_image_filter_module) HTTP_IMAGE_FILTER=YES ;;
Igor Sysoevbc101472009-07-20 07:10:43 +0000217 --with-http_geoip_module) HTTP_GEOIP=YES ;;
Igor Sysoevd9bb8e32007-04-19 17:54:23 +0000218 --with-http_sub_module) HTTP_SUB=YES ;;
Igor Sysoev8a2b2fb2006-04-14 09:53:38 +0000219 --with-http_dav_module) HTTP_DAV=YES ;;
Igor Sysoevb5050062006-10-09 14:17:36 +0000220 --with-http_flv_module) HTTP_FLV=YES ;;
Igor Sysoevdde4d7e2011-09-09 10:22:34 +0000221 --with-http_mp4_module) HTTP_MP4=YES ;;
Maxim Dounin90bd33e2012-09-10 16:52:47 +0000222 --with-http_gunzip_module) HTTP_GUNZIP=YES ;;
Igor Sysoevc16b0052007-12-27 14:21:59 +0000223 --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;;
Maxim Dounin4c53a382013-08-21 19:19:47 +0400224 --with-http_auth_request_module) HTTP_AUTH_REQUEST=YES ;;
Igor Sysoev2e2b81d2008-09-05 15:45:55 +0000225 --with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;;
Igor Sysoeve52991e2008-09-27 13:22:10 +0000226 --with-http_secure_link_module) HTTP_SECURE_LINK=YES ;;
Igor Sysoev49851092009-11-16 12:20:00 +0000227 --with-http_degradation_module) HTTP_DEGRADATION=YES ;;
Igor Sysoev8a2b2fb2006-04-14 09:53:38 +0000228
Igor Sysoev3d5c0fc2004-06-22 16:43:09 +0000229 --without-http_charset_module) HTTP_CHARSET=NO ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000230 --without-http_gzip_module) HTTP_GZIP=NO ;;
Igor Sysoev75569452004-07-08 15:17:47 +0000231 --without-http_ssi_module) HTTP_SSI=NO ;;
Igor Sysoev967fd632004-08-27 15:40:59 +0000232 --without-http_userid_module) HTTP_USERID=NO ;;
Igor Sysoeva7c4a2a2004-08-29 03:55:41 +0000233 --without-http_access_module) HTTP_ACCESS=NO ;;
Igor Sysoev4d656dc2005-03-22 16:02:46 +0000234 --without-http_auth_basic_module) HTTP_AUTH_BASIC=NO ;;
Igor Sysoev723e6cc2004-10-25 15:29:23 +0000235 --without-http_autoindex_module) HTTP_AUTOINDEX=NO ;;
Igor Sysoevc83f6832004-06-24 07:53:37 +0000236 --without-http_status_module) HTTP_STATUS=NO ;;
Igor Sysoev805d9db2005-02-03 19:33:37 +0000237 --without-http_geo_module) HTTP_GEO=NO ;;
Igor Sysoev24025022005-12-16 15:07:08 +0000238 --without-http_map_module) HTTP_MAP=NO ;;
Igor Sysoevfadd4bd2010-05-14 09:02:10 +0000239 --without-http_split_clients_module) HTTP_SPLIT_CLIENTS=NO ;;
Igor Sysoevc31a9bb2005-11-26 10:11:11 +0000240 --without-http_referer_module) HTTP_REFERER=NO ;;
Igor Sysoevc83f6832004-06-24 07:53:37 +0000241 --without-http_rewrite_module) HTTP_REWRITE=NO ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000242 --without-http_proxy_module) HTTP_PROXY=NO ;;
Igor Sysoev02025fd2005-01-18 13:03:58 +0000243 --without-http_fastcgi_module) HTTP_FASTCGI=NO ;;
Igor Sysoev3a881d32010-06-01 15:53:11 +0000244 --without-http_uwsgi_module) HTTP_UWSGI=NO ;;
Igor Sysoevee5f9e52010-06-18 15:51:14 +0000245 --without-http_scgi_module) HTTP_SCGI=NO ;;
Igor Sysoevc31a9bb2005-11-26 10:11:11 +0000246 --without-http_memcached_module) HTTP_MEMCACHED=NO ;;
Valentin Bartenev255e20a2011-11-14 14:04:42 +0000247 --without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;;
Igor Sysoevabe378e2008-11-10 15:22:33 +0000248 --without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;;
Igor Sysoevc31a9bb2005-11-26 10:11:11 +0000249 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;;
Igor Sysoev3383ff62006-09-18 12:25:07 +0000250 --without-http_browser_module) HTTP_BROWSER=NO ;;
Roman Arutyunyan9b5a17b2014-06-02 16:16:22 +0400251 --without-http_upstream_hash_module) HTTP_UPSTREAM_HASH=NO ;;
Igor Sysoev3d2fd182006-12-04 16:46:13 +0000252 --without-http_upstream_ip_hash_module) HTTP_UPSTREAM_IP_HASH=NO ;;
Maxim Dounin4cb4e8d2012-06-03 23:21:26 +0000253 --without-http_upstream_least_conn_module)
254 HTTP_UPSTREAM_LEAST_CONN=NO ;;
Maxim Dounin44002e52011-09-15 19:28:18 +0000255 --without-http_upstream_keepalive_module) HTTP_UPSTREAM_KEEPALIVE=NO ;;
Ruslan Ermilovbbc5a9e2015-04-14 19:01:25 +0300256 --without-http_upstream_zone_module) HTTP_UPSTREAM_ZONE=NO ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000257
Igor Sysoev9bf11aa2006-01-16 14:56:53 +0000258 --with-http_perl_module) HTTP_PERL=YES ;;
259 --with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;;
260 --with-perl=*) NGX_PERL="$value" ;;
261
Igor Sysoevaa828612005-02-09 14:31:07 +0000262 # STUB
263 --with-http_stub_status_module) HTTP_STUB_STATUS=YES ;;
264
Igor Sysoev02c8d182007-03-19 13:36:56 +0000265 --with-mail) MAIL=YES ;;
266 --with-mail_ssl_module) MAIL_SSL=YES ;;
267 # STUB
Ruslan Ermilov9fcbac42015-04-29 14:59:02 +0300268 --with-imap)
269 MAIL=YES
270 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
271$0: warning: the \"--with-imap\" option is deprecated, \
272use the \"--with-mail\" option instead"
273 ;;
274 --with-imap_ssl_module)
275 MAIL_SSL=YES
276 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
277$0: warning: the \"--with-imap_ssl_module\" option is deprecated, \
278use the \"--with-mail_ssl_module\" option instead"
279 ;;
Igor Sysoev48714082007-09-15 16:51:16 +0000280 --without-mail_pop3_module) MAIL_POP3=NO ;;
281 --without-mail_imap_module) MAIL_IMAP=NO ;;
282 --without-mail_smtp_module) MAIL_SMTP=NO ;;
Igor Sysoev59cf56c2004-09-07 15:29:22 +0000283
Ruslan Ermilov472f0fa2015-04-20 13:05:11 +0300284 --with-stream) STREAM=YES ;;
285 --with-stream_ssl_module) STREAM_SSL=YES ;;
Vladimir Homutovfbbedf32015-06-04 13:04:12 +0300286 --without-stream_access_module) STREAM_ACCESS=NO ;;
Ruslan Ermilov472f0fa2015-04-20 13:05:11 +0300287 --without-stream_upstream_hash_module)
288 STREAM_UPSTREAM_HASH=NO ;;
289 --without-stream_upstream_least_conn_module)
290 STREAM_UPSTREAM_LEAST_CONN=NO ;;
291 --without-stream_upstream_zone_module)
292 STREAM_UPSTREAM_ZONE=NO ;;
293
Igor Sysoev85dd8fc2008-03-18 10:36:27 +0000294 --with-google_perftools_module) NGX_GOOGLE_PERFTOOLS=YES ;;
Igor Sysoev49f06852008-08-13 08:29:27 +0000295 --with-cpp_test_module) NGX_CPP_TEST=YES ;;
Igor Sysoev85dd8fc2008-03-18 10:36:27 +0000296
Igor Sysoev1ebfead2005-02-16 13:40:36 +0000297 --add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;;
Igor Sysoevd43bee82004-11-20 19:52:20 +0000298
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000299 --with-cc=*) CC="$value" ;;
Igor Sysoeva893eab2004-03-11 21:34:52 +0000300 --with-cpp=*) CPP="$value" ;;
Igor Sysoevc0edbcc2004-10-21 15:34:38 +0000301 --with-cc-opt=*) NGX_CC_OPT="$value" ;;
302 --with-ld-opt=*) NGX_LD_OPT="$value" ;;
Igor Sysoev7b908342004-03-10 20:56:39 +0000303 --with-cpu-opt=*) CPU="$value" ;;
Igor Sysoevf6906042004-11-25 16:17:31 +0000304 --with-debug) NGX_DEBUG=YES ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000305
Igor Sysoevbb1ba3f2004-02-19 16:48:14 +0000306 --without-pcre) USE_PCRE=DISABLED ;;
Igor Sysoeve231e582009-03-19 16:06:32 +0000307 --with-pcre) USE_PCRE=YES ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000308 --with-pcre=*) PCRE="$value" ;;
Igor Sysoev7b908342004-03-10 20:56:39 +0000309 --with-pcre-opt=*) PCRE_OPT="$value" ;;
Valentin Bartenevbc5191c2011-12-26 13:10:36 +0000310 --with-pcre-jit) PCRE_JIT=YES ;;
Igor Sysoev7b908342004-03-10 20:56:39 +0000311
Igor Sysoev0599b112004-07-25 18:34:14 +0000312 --with-openssl=*) OPENSSL="$value" ;;
Igor Sysoevc1571722005-03-19 12:38:37 +0000313 --with-openssl-opt=*) OPENSSL_OPT="$value" ;;
Igor Sysoev0599b112004-07-25 18:34:14 +0000314
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000315 --with-md5=*) MD5="$value" ;;
Igor Sysoev7b908342004-03-10 20:56:39 +0000316 --with-md5-opt=*) MD5_OPT="$value" ;;
317 --with-md5-asm) MD5_ASM=YES ;;
318
Igor Sysoevafd7ec52006-05-29 17:28:12 +0000319 --with-sha1=*) SHA1="$value" ;;
320 --with-sha1-opt=*) SHA1_OPT="$value" ;;
321 --with-sha1-asm) SHA1_ASM=YES ;;
322
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000323 --with-zlib=*) ZLIB="$value" ;;
Igor Sysoev24b56c92004-03-10 17:55:19 +0000324 --with-zlib-opt=*) ZLIB_OPT="$value" ;;
Igor Sysoev7b908342004-03-10 20:56:39 +0000325 --with-zlib-asm=*) ZLIB_ASM="$value" ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000326
Igor Sysoev213cad82009-11-25 17:55:25 +0000327 --with-libatomic) NGX_LIBATOMIC=YES ;;
328 --with-libatomic=*) NGX_LIBATOMIC="$value" ;;
329
Igor Sysoevf6906042004-11-25 16:17:31 +0000330 --test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;;
Igor Sysoev4524fb02006-09-26 12:20:12 +0000331 --test-build-eventport) NGX_TEST_BUILD_EVENTPORT=YES ;;
Igor Sysoevf6906042004-11-25 16:17:31 +0000332 --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;;
Igor Sysoev42b12b32004-12-02 18:40:46 +0000333 --test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;;
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000334
335 *)
336 echo "$0: error: invalid option \"$option\""
337 exit 1
338 ;;
339 esac
340done
341
342
Igor Sysoev0e60e4f2009-04-26 19:37:38 +0000343NGX_CONFIGURE="$opt"
344
345
Igor Sysoevdc867cd2003-12-14 20:10:27 +0000346if [ $help = yes ]; then
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000347
Igor Sysoevc0edbcc2004-10-21 15:34:38 +0000348cat << END
Igor Sysoev5c8c52f2004-01-23 09:26:18 +0000349
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000350 --help print this message
Igor Sysoev5c8c52f2004-01-23 09:26:18 +0000351
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000352 --prefix=PATH set installation prefix
353 --sbin-path=PATH set nginx binary pathname
354 --conf-path=PATH set nginx.conf pathname
355 --error-log-path=PATH set error log pathname
356 --pid-path=PATH set nginx.pid pathname
357 --lock-path=PATH set nginx.lock pathname
Igor Sysoev5c8c52f2004-01-23 09:26:18 +0000358
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000359 --user=USER set non-privileged user for
360 worker processes
361 --group=GROUP set non-privileged group for
362 worker processes
Igor Sysoevc0edbcc2004-10-21 15:34:38 +0000363
Ruslan Ermilov1736c182014-05-20 16:10:07 +0400364 --build=NAME set build name
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000365 --builddir=DIR set build directory
Igor Sysoevc0edbcc2004-10-21 15:34:38 +0000366
Igor Sysoev02025fd2005-01-18 13:03:58 +0000367 --with-select_module enable select module
368 --without-select_module disable select module
369 --with-poll_module enable poll module
370 --without-poll_module disable poll module
Igor Sysoevc0edbcc2004-10-21 15:34:38 +0000371
Valentin Bartenev27e49d72015-03-14 17:37:07 +0300372 --with-threads enable thread pool support
373
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000374 --with-file-aio enable file AIO support
375 --with-ipv6 enable IPv6 support
Igor Sysoeva35eacc2009-02-21 07:02:02 +0000376
Igor Sysoev02025fd2005-01-18 13:03:58 +0000377 --with-http_ssl_module enable ngx_http_ssl_module
Valentin Bartenev2686cb42013-03-20 10:36:57 +0000378 --with-http_spdy_module enable ngx_http_spdy_module
Igor Sysoevc31a9bb2005-11-26 10:11:11 +0000379 --with-http_realip_module enable ngx_http_realip_module
Igor Sysoevcdf609a2006-04-17 19:55:41 +0000380 --with-http_addition_module enable ngx_http_addition_module
Igor Sysoev1ae389d2008-08-04 14:48:15 +0000381 --with-http_xslt_module enable ngx_http_xslt_module
Igor Sysoev59eed352009-05-01 19:14:10 +0000382 --with-http_image_filter_module enable ngx_http_image_filter_module
Igor Sysoev16137b02009-07-21 13:27:19 +0000383 --with-http_geoip_module enable ngx_http_geoip_module
Igor Sysoevd9bb8e32007-04-19 17:54:23 +0000384 --with-http_sub_module enable ngx_http_sub_module
Igor Sysoevcdf609a2006-04-17 19:55:41 +0000385 --with-http_dav_module enable ngx_http_dav_module
Igor Sysoevb5050062006-10-09 14:17:36 +0000386 --with-http_flv_module enable ngx_http_flv_module
Igor Sysoevdde4d7e2011-09-09 10:22:34 +0000387 --with-http_mp4_module enable ngx_http_mp4_module
Maxim Dounin90bd33e2012-09-10 16:52:47 +0000388 --with-http_gunzip_module enable ngx_http_gunzip_module
Igor Sysoevc16b0052007-12-27 14:21:59 +0000389 --with-http_gzip_static_module enable ngx_http_gzip_static_module
Maxim Dounin4c53a382013-08-21 19:19:47 +0400390 --with-http_auth_request_module enable ngx_http_auth_request_module
Igor Sysoev2e2b81d2008-09-05 15:45:55 +0000391 --with-http_random_index_module enable ngx_http_random_index_module
Igor Sysoeve52991e2008-09-27 13:22:10 +0000392 --with-http_secure_link_module enable ngx_http_secure_link_module
Igor Sysoev49851092009-11-16 12:20:00 +0000393 --with-http_degradation_module enable ngx_http_degradation_module
Igor Sysoev60e84402007-05-01 19:55:25 +0000394 --with-http_stub_status_module enable ngx_http_stub_status_module
Igor Sysoevcdf609a2006-04-17 19:55:41 +0000395
Igor Sysoev02025fd2005-01-18 13:03:58 +0000396 --without-http_charset_module disable ngx_http_charset_module
397 --without-http_gzip_module disable ngx_http_gzip_module
Igor Sysoevc1571722005-03-19 12:38:37 +0000398 --without-http_ssi_module disable ngx_http_ssi_module
Igor Sysoev02025fd2005-01-18 13:03:58 +0000399 --without-http_userid_module disable ngx_http_userid_module
400 --without-http_access_module disable ngx_http_access_module
Igor Sysoev4d656dc2005-03-22 16:02:46 +0000401 --without-http_auth_basic_module disable ngx_http_auth_basic_module
Igor Sysoev02025fd2005-01-18 13:03:58 +0000402 --without-http_autoindex_module disable ngx_http_autoindex_module
Igor Sysoev805d9db2005-02-03 19:33:37 +0000403 --without-http_geo_module disable ngx_http_geo_module
Igor Sysoev347f7fe2006-09-26 21:15:02 +0000404 --without-http_map_module disable ngx_http_map_module
Igor Sysoevfadd4bd2010-05-14 09:02:10 +0000405 --without-http_split_clients_module disable ngx_http_split_clients_module
Igor Sysoevc31a9bb2005-11-26 10:11:11 +0000406 --without-http_referer_module disable ngx_http_referer_module
Igor Sysoev02025fd2005-01-18 13:03:58 +0000407 --without-http_rewrite_module disable ngx_http_rewrite_module
408 --without-http_proxy_module disable ngx_http_proxy_module
409 --without-http_fastcgi_module disable ngx_http_fastcgi_module
Igor Sysoev3a881d32010-06-01 15:53:11 +0000410 --without-http_uwsgi_module disable ngx_http_uwsgi_module
Igor Sysoevee5f9e52010-06-18 15:51:14 +0000411 --without-http_scgi_module disable ngx_http_scgi_module
Igor Sysoevc31a9bb2005-11-26 10:11:11 +0000412 --without-http_memcached_module disable ngx_http_memcached_module
Valentin Bartenev255e20a2011-11-14 14:04:42 +0000413 --without-http_limit_conn_module disable ngx_http_limit_conn_module
Igor Sysoevabe378e2008-11-10 15:22:33 +0000414 --without-http_limit_req_module disable ngx_http_limit_req_module
Igor Sysoevc31a9bb2005-11-26 10:11:11 +0000415 --without-http_empty_gif_module disable ngx_http_empty_gif_module
Igor Sysoev347f7fe2006-09-26 21:15:02 +0000416 --without-http_browser_module disable ngx_http_browser_module
Roman Arutyunyan9b5a17b2014-06-02 16:16:22 +0400417 --without-http_upstream_hash_module
418 disable ngx_http_upstream_hash_module
Igor Sysoev3d2fd182006-12-04 16:46:13 +0000419 --without-http_upstream_ip_hash_module
420 disable ngx_http_upstream_ip_hash_module
Maxim Dounin8a1a54b2012-09-26 16:39:38 +0000421 --without-http_upstream_least_conn_module
422 disable ngx_http_upstream_least_conn_module
423 --without-http_upstream_keepalive_module
424 disable ngx_http_upstream_keepalive_module
Ruslan Ermilovbbc5a9e2015-04-14 19:01:25 +0300425 --without-http_upstream_zone_module
426 disable ngx_http_upstream_zone_module
Igor Sysoev02025fd2005-01-18 13:03:58 +0000427
Igor Sysoev9bf11aa2006-01-16 14:56:53 +0000428 --with-http_perl_module enable ngx_http_perl_module
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000429 --with-perl_modules_path=PATH set Perl modules path
430 --with-perl=PATH set perl binary pathname
Igor Sysoev9bf11aa2006-01-16 14:56:53 +0000431
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000432 --http-log-path=PATH set http access log pathname
433 --http-client-body-temp-path=PATH set path to store
434 http client request body temporary files
435 --http-proxy-temp-path=PATH set path to store
436 http proxy temporary files
437 --http-fastcgi-temp-path=PATH set path to store
438 http fastcgi temporary files
439 --http-uwsgi-temp-path=PATH set path to store
440 http uwsgi temporary files
441 --http-scgi-temp-path=PATH set path to store
442 http scgi temporary files
Igor Sysoev02025fd2005-01-18 13:03:58 +0000443
Igor Sysoev187b7d92005-07-14 12:51:53 +0000444 --without-http disable HTTP server
Igor Sysoev52859f22009-03-23 13:14:51 +0000445 --without-http-cache disable HTTP cache
Igor Sysoev187b7d92005-07-14 12:51:53 +0000446
Igor Sysoev884d6342007-09-21 16:14:17 +0000447 --with-mail enable POP3/IMAP4/SMTP proxy module
Igor Sysoev02c8d182007-03-19 13:36:56 +0000448 --with-mail_ssl_module enable ngx_mail_ssl_module
Igor Sysoev884d6342007-09-21 16:14:17 +0000449 --without-mail_pop3_module disable ngx_mail_pop3_module
450 --without-mail_imap_module disable ngx_mail_imap_module
451 --without-mail_smtp_module disable ngx_mail_smtp_module
Igor Sysoev187b7d92005-07-14 12:51:53 +0000452
Ruslan Ermilov472f0fa2015-04-20 13:05:11 +0300453 --with-stream enable TCP proxy module
454 --with-stream_ssl_module enable ngx_stream_ssl_module
Vladimir Homutovfbbedf32015-06-04 13:04:12 +0300455 --without-stream_access_module disable ngx_stream_access_module
Ruslan Ermilov472f0fa2015-04-20 13:05:11 +0300456 --without-stream_upstream_hash_module
457 disable ngx_stream_upstream_hash_module
458 --without-stream_upstream_least_conn_module
459 disable ngx_stream_upstream_least_conn_module
460 --without-stream_upstream_zone_module
461 disable ngx_stream_upstream_zone_module
462
Igor Sysoev85dd8fc2008-03-18 10:36:27 +0000463 --with-google_perftools_module enable ngx_google_perftools_module
Igor Sysoeve24b57a2008-08-05 19:32:50 +0000464 --with-cpp_test_module enable ngx_cpp_test_module
Igor Sysoev85dd8fc2008-03-18 10:36:27 +0000465
Igor Sysoev60e84402007-05-01 19:55:25 +0000466 --add-module=PATH enable an external module
467
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000468 --with-cc=PATH set C compiler pathname
469 --with-cpp=PATH set C preprocessor pathname
470 --with-cc-opt=OPTIONS set additional C compiler options
471 --with-ld-opt=OPTIONS set additional linker options
472 --with-cpu-opt=CPU build for the specified CPU, valid values:
Igor Sysoevc2807ec2006-02-16 15:26:46 +0000473 pentium, pentiumpro, pentium3, pentium4,
474 athlon, opteron, sparc32, sparc64, ppc64
Igor Sysoev02025fd2005-01-18 13:03:58 +0000475
Igor Sysoev58e19b72009-03-19 16:02:40 +0000476 --without-pcre disable PCRE library usage
Igor Sysoeve231e582009-03-19 16:06:32 +0000477 --with-pcre force PCRE library usage
Igor Sysoev02025fd2005-01-18 13:03:58 +0000478 --with-pcre=DIR set path to PCRE library sources
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000479 --with-pcre-opt=OPTIONS set additional build options for PCRE
Valentin Bartenevbc5191c2011-12-26 13:10:36 +0000480 --with-pcre-jit build PCRE with JIT compilation support
Igor Sysoev02025fd2005-01-18 13:03:58 +0000481
482 --with-md5=DIR set path to md5 library sources
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000483 --with-md5-opt=OPTIONS set additional build options for md5
Igor Sysoev02025fd2005-01-18 13:03:58 +0000484 --with-md5-asm use md5 assembler sources
485
Igor Sysoevafd7ec52006-05-29 17:28:12 +0000486 --with-sha1=DIR set path to sha1 library sources
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000487 --with-sha1-opt=OPTIONS set additional build options for sha1
Igor Sysoevafd7ec52006-05-29 17:28:12 +0000488 --with-sha1-asm use sha1 assembler sources
489
Igor Sysoev02025fd2005-01-18 13:03:58 +0000490 --with-zlib=DIR set path to zlib library sources
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000491 --with-zlib-opt=OPTIONS set additional build options for zlib
Igor Sysoev02025fd2005-01-18 13:03:58 +0000492 --with-zlib-asm=CPU use zlib assembler sources optimized
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000493 for the specified CPU, valid values:
Igor Sysoev02025fd2005-01-18 13:03:58 +0000494 pentium, pentiumpro
495
Igor Sysoev213cad82009-11-25 17:55:25 +0000496 --with-libatomic force libatomic_ops library usage
497 --with-libatomic=DIR set path to libatomic_ops library sources
498
Igor Sysoev02025fd2005-01-18 13:03:58 +0000499 --with-openssl=DIR set path to OpenSSL library sources
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000500 --with-openssl-opt=OPTIONS set additional build options for OpenSSL
Igor Sysoev02025fd2005-01-18 13:03:58 +0000501
Ruslan Ermilovac0e8cb2011-10-26 13:18:33 +0000502 --with-debug enable debug logging
Igor Sysoevc0edbcc2004-10-21 15:34:38 +0000503
504END
Igor Sysoeva8fa0a62003-11-25 20:44:56 +0000505
506 exit 1
507fi
Igor Sysoev732a2712004-04-21 18:54:33 +0000508
509
Igor Sysoev562626a2004-09-14 05:45:22 +0000510if [ $HTTP = NO ]; then
511 HTTP_CHARSET=NO
512 HTTP_GZIP=NO
513 HTTP_SSI=NO
514 HTTP_USERID=NO
515 HTTP_ACCESS=NO
516 HTTP_STATUS=NO
517 HTTP_REWRITE=NO
518 HTTP_PROXY=NO
Igor Sysoev02025fd2005-01-18 13:03:58 +0000519 HTTP_FASTCGI=NO
Igor Sysoev562626a2004-09-14 05:45:22 +0000520fi
521
522
Igor Sysoevf6906042004-11-25 16:17:31 +0000523if [ ".$NGX_PLATFORM" = ".win32" ]; then
Igor Sysoev1b735832004-11-11 14:07:14 +0000524 NGX_WINE=$WINE
Igor Sysoev732a2712004-04-21 18:54:33 +0000525fi
Igor Sysoev090849d2004-05-18 20:28:54 +0000526
527
Ruslan Ermilovbf2760a2015-06-10 12:25:31 +0300528NGX_SBIN_PATH=${NGX_SBIN_PATH:-sbin/nginx}
Igor Sysoev5ef370d2009-04-27 11:32:33 +0000529NGX_CONF_PATH=${NGX_CONF_PATH:-conf/nginx.conf}
Igor Sysoev5cf4d1a2007-08-14 19:26:20 +0000530NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH`
Igor Sysoev5ef370d2009-04-27 11:32:33 +0000531NGX_PID_PATH=${NGX_PID_PATH:-logs/nginx.pid}
532NGX_LOCK_PATH=${NGX_LOCK_PATH:-logs/nginx.lock}
Igor Sysoev5cf4d1a2007-08-14 19:26:20 +0000533
Igor Sysoev5ef370d2009-04-27 11:32:33 +0000534if [ ".$NGX_ERROR_LOG_PATH" = ".stderr" ]; then
535 NGX_ERROR_LOG_PATH=
536else
537 NGX_ERROR_LOG_PATH=${NGX_ERROR_LOG_PATH:-logs/error.log}
538fi
Igor Sysoev5cf4d1a2007-08-14 19:26:20 +0000539
Igor Sysoev5ef370d2009-04-27 11:32:33 +0000540NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log}
541NGX_HTTP_CLIENT_TEMP_PATH=${NGX_HTTP_CLIENT_TEMP_PATH:-client_body_temp}
542NGX_HTTP_PROXY_TEMP_PATH=${NGX_HTTP_PROXY_TEMP_PATH:-proxy_temp}
543NGX_HTTP_FASTCGI_TEMP_PATH=${NGX_HTTP_FASTCGI_TEMP_PATH:-fastcgi_temp}
Igor Sysoeve45b8922010-06-01 17:44:51 +0000544NGX_HTTP_UWSGI_TEMP_PATH=${NGX_HTTP_UWSGI_TEMP_PATH:-uwsgi_temp}
Igor Sysoevee5f9e52010-06-18 15:51:14 +0000545NGX_HTTP_SCGI_TEMP_PATH=${NGX_HTTP_SCGI_TEMP_PATH:-scgi_temp}
Igor Sysoev9bf11aa2006-01-16 14:56:53 +0000546
547case ".$NGX_PERL_MODULES" in
548 ./*)
549 ;;
550
551 .)
552 ;;
553
554 *)
555 NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES
556 ;;
557esac