2003-11-26 04:44:56 +08:00
|
|
|
|
2004-09-30 00:00:49 +08:00
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
|
|
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
have=NGX_HAVE_UNIX_DOMAIN . auto/have
|
|
|
|
|
2005-12-05 21:18:09 +08:00
|
|
|
ngx_feature_libs=
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2005-02-22 22:40:13 +08:00
|
|
|
|
2003-11-26 23:42:18 +08:00
|
|
|
# C types
|
|
|
|
|
2004-02-25 01:31:46 +08:00
|
|
|
ngx_type="int"; . auto/types/sizeof
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-02-25 01:31:46 +08:00
|
|
|
ngx_type="long"; . auto/types/sizeof
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-02-25 01:31:46 +08:00
|
|
|
ngx_type="long long"; . auto/types/sizeof
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-06-28 02:01:57 +08:00
|
|
|
ngx_type="void *"; . auto/types/sizeof; ngx_ptr_size=$ngx_size
|
2005-02-22 22:40:13 +08:00
|
|
|
ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_size; . auto/types/value
|
2003-11-26 04:44:56 +08:00
|
|
|
|
|
|
|
|
2004-02-09 15:46:43 +08:00
|
|
|
# POSIX types
|
2003-11-26 23:42:18 +08:00
|
|
|
|
2006-07-11 21:20:19 +08:00
|
|
|
case "$NGX_AUTO_CONFIG_H" in
|
|
|
|
/*)
|
|
|
|
NGX_INCLUDE_AUTO_CONFIG_H="#include \"$NGX_AUTO_CONFIG_H\""
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
NGX_INCLUDE_AUTO_CONFIG_H="#include \"../$NGX_AUTO_CONFIG_H\""
|
|
|
|
;;
|
|
|
|
esac
|
2003-11-26 23:42:18 +08:00
|
|
|
|
2004-06-28 02:01:57 +08:00
|
|
|
ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef
|
2003-11-26 23:42:18 +08:00
|
|
|
|
2004-06-28 02:01:57 +08:00
|
|
|
ngx_type="sig_atomic_t"; ngx_types="int"; . auto/types/typedef
|
|
|
|
. auto/types/sizeof
|
2004-12-21 20:30:30 +08:00
|
|
|
ngx_param=NGX_SIG_ATOMIC_T_SIZE; ngx_value=$ngx_size; . auto/types/value
|
2004-02-06 00:58:36 +08:00
|
|
|
|
2005-05-19 21:25:22 +08:00
|
|
|
ngx_type="socklen_t"; ngx_types="int"; . auto/types/typedef
|
2003-11-26 23:42:18 +08:00
|
|
|
|
2004-06-28 02:01:57 +08:00
|
|
|
ngx_type="in_addr_t"; ngx_types="uint32_t"; . auto/types/typedef
|
2003-11-26 23:42:18 +08:00
|
|
|
|
2004-09-07 23:29:22 +08:00
|
|
|
ngx_type="in_port_t"; ngx_types="u_short"; . auto/types/typedef
|
|
|
|
|
2004-06-28 02:01:57 +08:00
|
|
|
ngx_type="rlim_t"; ngx_types="int"; . auto/types/typedef
|
2003-11-26 23:42:18 +08:00
|
|
|
|
|
|
|
. auto/types/uintptr_t
|
|
|
|
|
2004-06-28 02:01:57 +08:00
|
|
|
. auto/endianess
|
|
|
|
|
2004-12-03 02:40:46 +08:00
|
|
|
ngx_type="size_t"; . auto/types/sizeof
|
2004-12-21 20:30:30 +08:00
|
|
|
ngx_param=NGX_MAX_SIZE_T_VALUE; ngx_value=$ngx_max_value; . auto/types/value
|
|
|
|
ngx_param=NGX_SIZE_T_LEN; ngx_value=$ngx_max_len; . auto/types/value
|
2003-11-26 23:42:18 +08:00
|
|
|
|
2004-12-03 02:40:46 +08:00
|
|
|
ngx_type="off_t"; . auto/types/sizeof
|
2004-12-21 20:30:30 +08:00
|
|
|
ngx_param=NGX_MAX_OFF_T_VALUE; ngx_value=$ngx_max_value; . auto/types/value
|
|
|
|
ngx_param=NGX_OFF_T_LEN; ngx_value=$ngx_max_len; . auto/types/value
|
2003-11-26 23:42:18 +08:00
|
|
|
|
2004-12-03 02:40:46 +08:00
|
|
|
ngx_type="time_t"; . auto/types/sizeof
|
2004-12-21 20:30:30 +08:00
|
|
|
ngx_param=NGX_TIME_T_SIZE; ngx_value=$ngx_size; . auto/types/value
|
|
|
|
ngx_param=NGX_TIME_T_LEN; ngx_value=$ngx_max_len; . auto/types/value
|
2003-11-26 04:44:56 +08:00
|
|
|
|
|
|
|
|
2004-06-18 01:18:53 +08:00
|
|
|
# syscalls, libc calls and some features
|
|
|
|
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2009-02-21 15:02:02 +08:00
|
|
|
if [ $NGX_IPV6 = YES ]; then
|
|
|
|
ngx_feature="AF_INET6"
|
|
|
|
ngx_feature_name="NGX_HAVE_INET6"
|
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <sys/socket.h>
|
|
|
|
#include <netinet/in.h>
|
|
|
|
#include <arpa/inet.h>"
|
|
|
|
ngx_feature_path=
|
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test="struct sockaddr_in6 sin6;
|
|
|
|
sin6.sin6_family = AF_INET6;"
|
|
|
|
. auto/feature
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2004-11-21 03:52:20 +08:00
|
|
|
ngx_feature="setproctitle()"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_SETPROCTITLE"
|
2004-11-21 03:52:20 +08:00
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs=
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
nginx-0.1.29-RELEASE import
*) Feature: the ngx_http_ssi_module supports "include virtual" command.
*) Feature: the ngx_http_ssi_module supports the condition command like
'if expr="$NAME"' and "else" and "endif" commands. Only one nested
level is supported.
*) Feature: the ngx_http_ssi_module supports the DATE_LOCAL and
DATE_GMT variables and "config timefmt" command.
*) Feature: the "ssi_ignore_recycled_buffers" directive.
*) Bugfix: the "echo" command did not show the default value for the
empty QUERY_STRING variable.
*) Change: the ngx_http_proxy_module was rewritten.
*) Feature: the "proxy_redirect", "proxy_pass_request_headers",
"proxy_pass_request_body", and "proxy_method" directives.
*) Feature: the "proxy_set_header" directive. The "proxy_x_var" was
canceled and must be replaced with the proxy_set_header directive.
*) Change: the "proxy_preserve_host" is canceled and must be replaced
with the "proxy_set_header Host $host" and the "proxy_redirect off"
directives, the "proxy_set_header Host $host:$proxy_port" directive
and the appropriate proxy_redirect directives.
*) Change: the "proxy_set_x_real_ip" is canceled and must be replaced
with the "proxy_set_header X-Real-IP $remote_addr" directive.
*) Change: the "proxy_add_x_forwarded_for" is canceled and must be
replaced with
the "proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for"
directive.
*) Change: the "proxy_set_x_url" is canceled and must be replaced with
the "proxy_set_header X-URL http://$host:$server_port$request_uri"
directive.
*) Feature: the "fastcgi_param" directive.
*) Change: the "fastcgi_root", "fastcgi_set_var" and "fastcgi_params"
directive are canceled and must be replaced with the fastcgi_param
directives.
*) Feature: the "index" directive can use the variables.
*) Feature: the "index" directive can be used at http and server levels.
*) Change: the last index only in the "index" directive can be absolute.
*) Feature: the "rewrite" directive can use the variables.
*) Feature: the "internal" directive.
*) Feature: the CONTENT_LENGTH, CONTENT_TYPE, REMOTE_PORT, SERVER_ADDR,
SERVER_PORT, SERVER_PROTOCOL, DOCUMENT_ROOT, SERVER_NAME,
REQUEST_METHOD, REQUEST_URI, and REMOTE_USER variables.
*) Change: nginx now passes the invalid lines in a client request
headers or a backend response header.
*) Bugfix: if the backend did not transfer response for a long time and
the "send_timeout" was less than "proxy_read_timeout", then nginx
returned the 408 response.
*) Bugfix: the segmentation fault was occurred if the backend sent an
invalid line in response header; the bug had appeared in 0.1.26.
*) Bugfix: the segmentation fault may occurred in FastCGI fault
tolerance configuration.
*) Bugfix: the "expires" directive did not remove the previous
"Expires" and "Cache-Control" headers.
*) Bugfix: nginx did not take into account trailing dot in "Host"
header line.
*) Bugfix: the ngx_http_auth_module did not work under Linux.
*) Bugfix: the rewrite directive worked incorrectly, if the arguments
were in a request.
*) Bugfix: nginx could not be built on MacOS X.
2005-05-12 22:58:06 +08:00
|
|
|
ngx_feature_libs=$NGX_SETPROCTITLE_LIB
|
2004-11-21 03:52:20 +08:00
|
|
|
ngx_feature_test="setproctitle(\"test\");"
|
|
|
|
. auto/feature
|
|
|
|
|
|
|
|
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature="pread()"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_PREAD"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs=
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test="char buf[1]; ssize_t n; n = pread(0, buf, 1, 0)"
|
|
|
|
. auto/feature
|
2003-11-26 04:44:56 +08:00
|
|
|
|
|
|
|
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature="pwrite()"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_PWRITE"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs=
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test="char buf[1]; ssize_t n; n = pwrite(1, buf, 1, 0)"
|
|
|
|
. auto/feature
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2003-12-19 16:15:11 +08:00
|
|
|
|
2010-11-25 19:04:03 +08:00
|
|
|
ngx_feature="sys_nerr"
|
|
|
|
ngx_feature_name="NGX_SYS_NERR"
|
|
|
|
ngx_feature_run=value
|
|
|
|
ngx_feature_incs='#include <stdio.h>'
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
2010-11-25 19:04:03 +08:00
|
|
|
ngx_feature_test='printf("%d", sys_nerr);'
|
2010-03-12 19:15:26 +08:00
|
|
|
. auto/feature
|
|
|
|
|
|
|
|
|
2010-12-06 22:49:17 +08:00
|
|
|
if [ $ngx_found = no ]; then
|
2010-12-06 22:50:27 +08:00
|
|
|
|
2010-12-06 22:49:17 +08:00
|
|
|
# Cygiwn defines _sys_nerr
|
|
|
|
ngx_feature="_sys_nerr"
|
|
|
|
ngx_feature_name="NGX_SYS_NERR"
|
|
|
|
ngx_feature_run=value
|
|
|
|
ngx_feature_incs='#include <errno.h>
|
|
|
|
#include <stdio.h>'
|
|
|
|
ngx_feature_path=
|
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test='printf("%d", _sys_nerr);'
|
|
|
|
. auto/feature
|
|
|
|
fi
|
2010-12-02 03:22:37 +08:00
|
|
|
|
|
|
|
|
2010-12-06 22:51:20 +08:00
|
|
|
if [ $ngx_found = no ]; then
|
|
|
|
|
|
|
|
# Solaris has no sys_nerr
|
|
|
|
ngx_feature='maximum errno'
|
|
|
|
ngx_feature_name=NGX_SYS_NERR
|
|
|
|
ngx_feature_run=value
|
|
|
|
ngx_feature_incs='#include <errno.h>
|
2011-05-04 20:21:25 +08:00
|
|
|
#include <string.h>
|
2010-12-06 22:51:20 +08:00
|
|
|
#include <stdio.h>'
|
|
|
|
ngx_feature_path=
|
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test='int n;
|
2011-04-23 21:15:56 +08:00
|
|
|
char *p;
|
2010-12-06 22:51:20 +08:00
|
|
|
for (n = 1; n < 1000; n++) {
|
|
|
|
errno = 0;
|
2011-04-23 21:15:56 +08:00
|
|
|
p = strerror(n);
|
|
|
|
if (errno == EINVAL
|
|
|
|
|| p == NULL
|
|
|
|
|| strncmp(p, "Unknown error", 13) == 0)
|
|
|
|
{
|
2010-12-06 22:51:20 +08:00
|
|
|
printf("%d", n);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}'
|
|
|
|
. auto/feature
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature="localtime_r()"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_LOCALTIME_R"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <time.h>"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test="struct tm t; time_t c=0; localtime_r(&c, &t)"
|
|
|
|
. auto/feature
|
2004-02-11 00:23:38 +08:00
|
|
|
|
2004-06-07 03:49:18 +08:00
|
|
|
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature="posix_memalign()"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_POSIX_MEMALIGN"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <stdlib.h>"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test="void *p; int n; n = posix_memalign(&p, 4096, 4096)"
|
|
|
|
. auto/feature
|
2004-06-07 03:49:18 +08:00
|
|
|
|
|
|
|
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature="memalign()"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_MEMALIGN"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <stdlib.h>"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test="void *p; p = memalign(4096, 4096)"
|
|
|
|
. auto/feature
|
2004-06-07 03:49:18 +08:00
|
|
|
|
2004-06-16 01:47:16 +08:00
|
|
|
|
2004-06-18 01:18:53 +08:00
|
|
|
ngx_feature="mmap(MAP_ANON|MAP_SHARED)"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_MAP_ANON"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=yes
|
|
|
|
ngx_feature_incs="#include <sys/mman.h>"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
2004-06-18 01:18:53 +08:00
|
|
|
ngx_feature_test="void *p;
|
|
|
|
p = mmap(NULL, 4096, PROT_READ|PROT_WRITE,
|
|
|
|
MAP_ANON|MAP_SHARED, -1, 0);
|
|
|
|
if (p == MAP_FAILED) return 1;"
|
|
|
|
. auto/feature
|
2004-06-16 01:47:16 +08:00
|
|
|
|
2004-06-18 01:18:53 +08:00
|
|
|
|
|
|
|
ngx_feature='mmap("/dev/zero", MAP_SHARED)'
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_MAP_DEVZERO"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=yes
|
|
|
|
ngx_feature_incs="#include <sys/mman.h>
|
2009-03-24 04:26:33 +08:00
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <fcntl.h>"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
2004-06-18 01:18:53 +08:00
|
|
|
ngx_feature_test='void *p; int fd;
|
|
|
|
fd = open("/dev/zero", O_RDWR);
|
|
|
|
p = mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
|
|
|
|
if (p == MAP_FAILED) return 1;'
|
|
|
|
. auto/feature
|
|
|
|
|
|
|
|
|
|
|
|
ngx_feature="System V shared memory"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_SYSVSHM"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=yes
|
|
|
|
ngx_feature_incs="#include <sys/ipc.h>
|
2009-03-24 04:26:33 +08:00
|
|
|
#include <sys/shm.h>"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
2004-06-18 01:18:53 +08:00
|
|
|
ngx_feature_test="int id;
|
|
|
|
id = shmget(IPC_PRIVATE, 4096, (SHM_R|SHM_W|IPC_CREAT));
|
|
|
|
if (id == -1) return 1;
|
|
|
|
shmctl(id, IPC_RMID, NULL);"
|
|
|
|
. auto/feature
|
|
|
|
|
|
|
|
|
2011-05-10 19:39:13 +08:00
|
|
|
ngx_feature="POSIX semaphores"
|
|
|
|
ngx_feature_name="NGX_HAVE_POSIX_SEM"
|
|
|
|
ngx_feature_run=yes
|
|
|
|
ngx_feature_incs="#include <semaphore.h>"
|
|
|
|
ngx_feature_path=
|
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test="sem_t sem;
|
|
|
|
if (sem_init(&sem, 1, 0) == -1) return 1;
|
|
|
|
sem_destroy(&sem);"
|
|
|
|
. auto/feature
|
|
|
|
|
|
|
|
|
2004-06-18 01:18:53 +08:00
|
|
|
ngx_feature="struct msghdr.msg_control"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_MSGHDR_MSG_CONTROL"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <sys/socket.h>"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
2004-06-18 01:18:53 +08:00
|
|
|
ngx_feature_test="struct msghdr msg; msg.msg_control = NULL"
|
|
|
|
. auto/feature
|
|
|
|
|
|
|
|
|
|
|
|
ngx_feature="ioctl(FIONBIO)"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_FIONBIO"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <sys/ioctl.h>
|
2009-03-24 04:26:33 +08:00
|
|
|
$NGX_INCLUDE_SYS_FILIO_H"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
2004-06-18 01:18:53 +08:00
|
|
|
ngx_feature_test="int i; i = FIONBIO"
|
|
|
|
. auto/feature
|
|
|
|
|
|
|
|
|
|
|
|
ngx_feature="struct tm.tm_gmtoff"
|
2004-11-26 00:17:31 +08:00
|
|
|
ngx_feature_name="NGX_HAVE_GMTOFF"
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <time.h>"
|
2006-11-27 19:07:09 +08:00
|
|
|
ngx_feature_path=
|
2004-10-21 23:34:38 +08:00
|
|
|
ngx_feature_libs=
|
2004-06-18 01:18:53 +08:00
|
|
|
ngx_feature_test="struct tm tm; tm.tm_gmtoff = 0"
|
|
|
|
. auto/feature
|
2008-09-05 23:43:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
ngx_feature="struct dirent.d_namlen"
|
|
|
|
ngx_feature_name="NGX_HAVE_D_NAMLEN"
|
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <dirent.h>"
|
|
|
|
ngx_feature_path=
|
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test="struct dirent dir; dir.d_namlen = 0"
|
|
|
|
. auto/feature
|
|
|
|
|
|
|
|
|
|
|
|
ngx_feature="struct dirent.d_type"
|
|
|
|
ngx_feature_name="NGX_HAVE_D_TYPE"
|
|
|
|
ngx_feature_run=no
|
|
|
|
ngx_feature_incs="#include <dirent.h>"
|
|
|
|
ngx_feature_path=
|
|
|
|
ngx_feature_libs=
|
|
|
|
ngx_feature_test="struct dirent dir; dir.d_type = DT_REG"
|
|
|
|
. auto/feature
|