comparison src/http/modules/perl/Makefile.PL @ 5038:1559423ec28b stable-1.2

Merge of r4946, r4978: perl. *) Fixed build with embedded perl in certain setups (ticket #48). *) Brought the link to ngx_http_perl_module documentation up to date.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 10 Feb 2013 02:58:03 +0000
parents 3b877a45d343
children 482fda984556
comparison
equal deleted inserted replaced
5037:032f71d771e6 5038:1559423ec28b
14 AUTHOR => 'Igor Sysoev', 14 AUTHOR => 'Igor Sysoev',
15 15
16 CCFLAGS => "$ENV{NGX_PM_CFLAGS}", 16 CCFLAGS => "$ENV{NGX_PM_CFLAGS}",
17 OPTIMIZE => '-O', 17 OPTIMIZE => '-O',
18 18
19 INC => "-I ../../../../../src/core " . 19 INC => join(" ", map {
20 "-I ../../../../../src/event " . 20 m#^/# ? "-I $_" : "-I ../../../../../$_"
21 "-I ../../../../../src/os/unix " . 21 } (split /\s+/, $ENV{NGX_INCS})),
22 "-I ../../../../../src/http " .
23 "-I ../../../../../src/http/modules " .
24 "-I ../../../../../src/http/modules/perl " .
25 "-I ../../../../../$ENV{NGX_OBJS} " .
26 ($ENV{NGX_PCRE} =~ /^(YES|NO)/ ? "" :
27 ($ENV{NGX_PCRE} =~ m#^/# ? "-I $ENV{NGX_PCRE} " :
28 "-I ../../../../../$ENV{NGX_PCRE} ")) .
29 ($ENV{NGX_OPENSSL} =~ /^(YES|NO)/ ? "" :
30 ($ENV{NGX_OPENSSL} =~ m#^/# ?
31 "-I $ENV{NGX_OPENSSL}/.openssl/include " :
32 "-I ../../../../../$ENV{NGX_OPENSSL}/.openssl/include ")),
33 22
34 depend => { 23 depend => {
35 'nginx.c' => 24 'nginx.c' =>
36 "../../../../../src/http/modules/perl/ngx_http_perl_module.h" 25 "../../../../../src/http/modules/perl/ngx_http_perl_module.h"
37 }, 26 },