[svn:ponie] rev 334 - trunk
[email protected] 22 Jul 2005 16:28:46 -0000
| Newsgroups | perl.ponie.changes |
|---|---|
| Message-ID | <[email protected]> |
Author: nicholas
Date: Fri Jul 22 09:28:46 2005
New Revision: 334
Modified:
trunk/Configure.pl
Log:
Allow extra arguments to the Perl 5 Configure script with --addarg= in Ponie's
Configure.pl. (patch from Shlomi Fish)
Modified: trunk/Configure.pl
==============================================================================
--- trunk/Configure.pl (original)
+++ trunk/Configure.pl Fri Jul 22 09:28:46 2005
@@ -53,6 +53,10 @@ foreach my $i (1..$configs) {
push @config_args, $config_value;
}
+# Add extra command line arguments to perl5's Configure from this script's
+# commandline.
+push @config_args, (map { /^--addarg=(.*)$/ ? ($1) : () } @ARGV);
+
# push @config_args,'-Dnoextensions=Encode';
# ByteLoader expects to be able to set the SvFLAGS directly. ByteLoader becomes
# irrelevant with Ponie.