mirror of
https://github.com/nginx/nginx.git
synced 2024-12-17 23:27:49 +08:00
da173abde0
*) Change in internal API: the HTTP modules initialization was moved from the init module phase to the HTTP postconfiguration phase. *) Change: now the request body is not read beforehand for the ngx_http_perl_module: it's required to start the reading using the $r->has_request_body method. *) Feature: the ngx_http_perl_module supports the DECLINED return code. *) Feature: the ngx_http_dav_module supports the incoming "Date" header line for the PUT method. *) Feature: the "ssi" directive is available inside the "if" block. *) Bugfix: a segmentation fault occurred if there was an "index" directive with variables and the first index name was without variables; the bug had appeared in 0.1.29.
38 lines
1.3 KiB
Perl
38 lines
1.3 KiB
Perl
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
use 5.006001;
|
|
use ExtUtils::MakeMaker;
|
|
|
|
WriteMakefile(
|
|
NAME => 'nginx',
|
|
VERSION_FROM => 'nginx.pm', # finds $VERSION
|
|
PREREQ_PM => {}, # e.g., Module::Name => 1.1
|
|
|
|
ABSTRACT_FROM => 'nginx.pm', # retrieve abstract from module
|
|
AUTHOR => 'Igor Sysoev',
|
|
|
|
CCFLAGS => "$ENV{NGX_PM_CFLAGS}",
|
|
OPTIMIZE => '-O',
|
|
|
|
INC => "-I ../../../../../src/core " .
|
|
"-I ../../../../../src/event " .
|
|
"-I ../../../../../src/os/unix " .
|
|
"-I ../../../../../src/http " .
|
|
"-I ../../../../../src/http/modules " .
|
|
"-I ../../../../../src/http/modules/perl " .
|
|
"-I ../../../../../$ENV{NGX_OBJS} " .
|
|
($ENV{NGX_PCRE} =~ /^(YES|NO)/ ? "" :
|
|
($ENV{NGX_PCRE} =~ m#^/# ? "-I $ENV{NGX_PCRE} " :
|
|
"-I ../../../../../$ENV{NGX_PCRE} ")),
|
|
|
|
depend => {
|
|
'nginx.c' =>
|
|
"../../../../../src/http/modules/perl/ngx_http_perl_module.h"
|
|
},
|
|
|
|
PM => {
|
|
'nginx.pm' => '$(INST_LIBDIR)/nginx.pm'
|
|
}
|
|
);
|