[svn:parrot] r47182 - branches/tt1452_configure_debug/config/auto

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Mon May 31 02:13:35 UTC 2010


Author: jkeenan
Date: Mon May 31 02:13:34 2010
New Revision: 47182
URL: https://trac.parrot.org/parrot/changeset/47182

Log:
Re-order arguments to _evaluate_cc_run() to be consistent with similar subroutines in other steps.

Modified:
   branches/tt1452_configure_debug/config/auto/pcre.pm

Modified: branches/tt1452_configure_debug/config/auto/pcre.pm
==============================================================================
--- branches/tt1452_configure_debug/config/auto/pcre.pm	Mon May 31 01:29:02 2010	(r47181)
+++ branches/tt1452_configure_debug/config/auto/pcre.pm	Mon May 31 02:13:34 2010	(r47182)
@@ -56,7 +56,7 @@
     my $has_pcre = 0;
     if ( !$@ ) {
         my $test = $conf->cc_run();
-        $has_pcre = $self->_evaluate_cc_run($test, $conf);
+        $has_pcre = $self->_evaluate_cc_run($conf, $test);
     }
     $conf->data->set( HAS_PCRE => $has_pcre);
 
@@ -65,7 +65,7 @@
 
 sub _evaluate_cc_run {
     my $self = shift;
-    my ($test, $conf) = @_;
+    my ($conf, $test) = @_;
     my $has_pcre = 0;
     if ( $test =~ /pcre (\d+\.\d+)/ ) {
         my $pcre_version = $1;


More information about the parrot-commits mailing list