summaryrefslogtreecommitdiff
path: root/auto/lib/perl/conf
diff options
context:
space:
mode:
authornginx <nginx@nginx.org>2012-10-02 13:57:46 +0000
committerJon Kolb <jon@b0g.us>2012-10-02 13:57:46 +0000
commitab4bd1d23e43e937e2b9f08ae34904f9d0d7c60b (patch)
treebd12699d3f01641b0ad8d1fc16f3566535ab7859 /auto/lib/perl/conf
parentb4d1d3eec8e8bf9edf4feb5e3caf49fffffb5267 (diff)
downloadnginx-ab4bd1d23e43e937e2b9f08ae34904f9d0d7c60b.tar.gz
Changes with nginx 1.3.7 02 Oct 2012v1.3.7
*) Feature: OCSP stapling support. Thanks to Comodo, DigiCert and GlobalSign for sponsoring this work. *) Feature: the "ssl_trusted_certificate" directive. *) Feature: resolver now randomly rotates addresses returned from cache. Thanks to Anton Jouline. *) Bugfix: OpenSSL 0.9.7 compatibility.
Diffstat (limited to 'auto/lib/perl/conf')
-rw-r--r--auto/lib/perl/conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/auto/lib/perl/conf b/auto/lib/perl/conf
index 52c7084e9..5ce6c91e6 100644
--- a/auto/lib/perl/conf
+++ b/auto/lib/perl/conf
@@ -12,7 +12,7 @@ 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 [ "`echo 'use 5.006001; print "OK"' | $NGX_PERL 2>&1`" != OK ]; then
+ if [ "`$NGX_PERL -e 'use 5.006001; print "OK"'`" != "OK" ]; then
echo
echo "$0: error: perl 5.6.1 or higher is required"
echo
@@ -20,6 +20,14 @@ if test -n "$NGX_PERL_VER"; then
exit 1;
fi
+ if [ "`$NGX_PERL -MExtUtils::Embed -e 'print "OK"'`" != "OK" ]; then
+ echo
+ echo "$0: error: perl module ExtUtils::Embed is required"
+ echo
+
+ exit 1;
+ fi
+
NGX_PERL_CFLAGS="$CFLAGS `$NGX_PERL -MExtUtils::Embed -e ccopts`"
NGX_PM_CFLAGS=`$NGX_PERL -MExtUtils::Embed -e ccopts`