Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4867 - trunk/auto/lib/perl

Anonymous User
September 27, 2012 11:04AM
Author: defan
Date: 2012-09-27 15:01:57 +0000 (Thu, 27 Sep 2012)
New Revision: 4867
URL: http://trac.nginx.org/nginx/changeset/4867/nginx

Log:
Configure: additional test for ExtUtils::Embed perl module presence.

Now perl configure will correctly fail if ExtUtils::Embed perl module
is not present in the system (found on Amazon Linux AMI, as of
release 2012.03).


Modified:
trunk/auto/lib/perl/conf

Modified: trunk/auto/lib/perl/conf
===================================================================
--- trunk/auto/lib/perl/conf 2012-09-26 16:39:38 UTC (rev 4866)
+++ trunk/auto/lib/perl/conf 2012-09-27 15:01:57 UTC (rev 4867)
@@ -12,7 +12,7 @@
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 @@
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`


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4867 - trunk/auto/lib/perl

Anonymous User 888 September 27, 2012 11:04AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready