Mercurial > hg > nginx
view src/http/modules/perl/Makefile.PL @ 3239:8254055b6693 stable-0.7
merge r2972, r2994, r3133, r3142, r3143, r3174, r3175, r3176:
various perl fixes:
*) fix ngx_http_send_special() for subrequests handled by perl
*) allow perl "sub{..."
*) restore environ, this fixes segfault on reconfiguration failure when
perl module creates new environment
*) optimize error handling
*) use ngx_conf_set_str_array_slot() for perl_require
*) allow several perl_modules
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Oct 2009 16:22:24 +0000 |
parents | 7e24168b0853 |
children | d620f497c50f |
line wrap: on
line source
# 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' } );