[svn:parrot] r42306 - in branches/configtests/config: auto gen
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Fri Nov 6 13:19:33 UTC 2009
Author: jkeenan
Date: Fri Nov 6 13:19:30 2009
New Revision: 42306
URL: https://trac.parrot.org/parrot/changeset/42306
Log:
Replace get_p5('OSNAME') with get('osname').
Modified:
branches/configtests/config/auto/thread.pm
branches/configtests/config/gen/opengl.pm
Modified: branches/configtests/config/auto/thread.pm
==============================================================================
--- branches/configtests/config/auto/thread.pm Fri Nov 6 10:48:53 2009 (r42305)
+++ branches/configtests/config/auto/thread.pm Fri Nov 6 13:19:30 2009 (r42306)
@@ -44,7 +44,7 @@
return 1;
}
- if ($conf->data->get_p5('OSNAME') eq 'MSWin32'
+ if ($conf->data->get('osname') eq 'MSWin32'
|| $conf->data->get('i_pthread') eq 'define') {
$conf->data->set( HAS_THREADS => 1 );
$self->set_result('yes');
Modified: branches/configtests/config/gen/opengl.pm
==============================================================================
--- branches/configtests/config/gen/opengl.pm Fri Nov 6 10:48:53 2009 (r42305)
+++ branches/configtests/config/gen/opengl.pm Fri Nov 6 13:19:30 2009 (r42306)
@@ -437,7 +437,7 @@
my @include_paths_win32 = grep /\S/ => split /;/ => ($ENV{INCLUDE} || '');
- my $osname = $conf->data->get_p5('OSNAME');
+ my $osname = $conf->data->get('osname');
if (scalar @include_paths_win32 == 0 && $osname =~ /mswin32/i) {
my $cc = $conf->data->get('cc');
my $path = dirname(dirname(which($cc))) . '\include';
More information about the parrot-commits
mailing list