diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2006-11-26 14:35:27 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2006-11-26 14:35:27 +0000 |
| commit | f9b7db5aaa366852f0c58111ac1a1ddfdee8210e (patch) | |
| tree | c2f002a0921d53bf5ddb6d1ce03ae9d670179eab /auto | |
| parent | ac6e1c1254a42954409f7fa8feeaaa8a040c8bd9 (diff) | |
| download | nginx-f9b7db5aaa366852f0c58111ac1a1ddfdee8210e.tar.gz nginx-f9b7db5aaa366852f0c58111ac1a1ddfdee8210e.tar.bz2 | |
Axe several perl interpreter instances: they may be useful in currently
unsupported threaded environment, but now they complicate code:
*) perl_clone() requires at least duplicating nginx stash;
*) the multiplicity requires to re-evalute all precompiled subroutines
and nginx stash in new interpreter context.
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/lib/perl/conf | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/auto/lib/perl/conf b/auto/lib/perl/conf index e01f9b6c3..2ecaf3a49 100644 --- a/auto/lib/perl/conf +++ b/auto/lib/perl/conf @@ -36,11 +36,7 @@ if test -n "$NGX_PERL_VER"; then echo " + perl interpreter multiplicity found" fi - if $NGX_PERL -V:useithreads | grep define > /dev/null; then - have=NGX_HAVE_PERL_CLONE . auto/have - echo " + perl_clone() found" - - else + if $NGX_PERL -V:useithreads | grep undef > /dev/null; then # FreeBSD port wants to link with -pthread non-threaded perl ngx_perl_ldopts=`echo $ngx_perl_ldopts | sed 's/ -pthread//'` fi |
