[svn:parrot] r49722 - branches/gsoc_nci/config/auto

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Fri Oct 29 01:54:54 UTC 2010


Author: jkeenan
Date: Fri Oct 29 01:54:53 2010
New Revision: 49722
URL: https://trac.parrot.org/parrot/changeset/49722

Log:
Since there's no verbose output possible inside _evaluate_cc_run(), we don't need to pass $verbose to that sub.

Modified:
   branches/gsoc_nci/config/auto/libffi.pm

Modified: branches/gsoc_nci/config/auto/libffi.pm
==============================================================================
--- branches/gsoc_nci/config/auto/libffi.pm	Fri Oct 29 01:15:43 2010	(r49721)
+++ branches/gsoc_nci/config/auto/libffi.pm	Fri Oct 29 01:54:53 2010	(r49722)
@@ -76,7 +76,7 @@
     my $has_libffi = 0;
     if ( !$@ ) {
         my $test = $conf->cc_run();
-        $has_libffi = _evaluate_cc_run($test, $verbose);
+        $has_libffi = _evaluate_cc_run($test);
     }
     $conf->cc_clean();
 
@@ -100,7 +100,7 @@
 }
 
 sub _evaluate_cc_run {
-    my ($output, $verbose) = @_;
+    my ($output) = @_;
     my $has_libffi = ( $output =~ m/libffi worked/ ) ? 1 : 0;
     return $has_libffi;
 }


More information about the parrot-commits mailing list