From f9b7db5aaa366852f0c58111ac1a1ddfdee8210e Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 26 Nov 2006 14:35:27 +0000 Subject: 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. --- auto/lib/perl/conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'auto') 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 -- cgit