aboutsummaryrefslogtreecommitdiff
path: root/auto/lib/perl
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2016-12-07 19:03:26 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2016-12-07 19:03:26 +0300
commit0a90c428b8be794b9244c8a5f0084f4d19feebbb (patch)
treec3edbb13f5de37a32f6161aa73f8d4f79834cee6 /auto/lib/perl
parent408e49fed64873aa5b7c3affb2a227e15ccee025 (diff)
downloadnginx-0a90c428b8be794b9244c8a5f0084f4d19feebbb.tar.gz
nginx-0a90c428b8be794b9244c8a5f0084f4d19feebbb.zip
Perl: removed special environment handling for the perl module.
In Perl 5.8.6 the default was switched to use putenv() when used as embedded library unless "PL_use_safe_putenv = 0" is explicitly used in the code. Therefore, for modern versions of Perl it is no longer necessary to restore previous environment when calling perl_destruct().
Diffstat (limited to 'auto/lib/perl')
-rw-r--r--auto/lib/perl/conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/auto/lib/perl/conf b/auto/lib/perl/conf
index d891d821a..e16a1bc85 100644
--- a/auto/lib/perl/conf
+++ b/auto/lib/perl/conf
@@ -12,9 +12,9 @@ NGX_PERL_VER=`$NGX_PERL -v 2>&1 | grep '^This is perl' 2>&1 \
if test -n "$NGX_PERL_VER"; then
echo " + perl version: $NGX_PERL_VER"
- if [ "`$NGX_PERL -e 'use 5.006001; print "OK"'`" != "OK" ]; then
+ if [ "`$NGX_PERL -e 'use 5.008006; print "OK"'`" != "OK" ]; then
echo
- echo "$0: error: perl 5.6.1 or higher is required"
+ echo "$0: error: perl 5.8.6 or higher is required"
echo
exit 1;
@@ -76,7 +76,7 @@ if test -n "$NGX_PERL_VER"; then
else
echo
- echo "$0: error: perl 5.6.1 or higher is required"
+ echo "$0: error: perl 5.8.6 or higher is required"
echo
exit 1;