| Newsgroups |
perl.ponie.changes |
| Message-ID |
<[email protected]> |
Author: sky
Date: Tue Aug 19 07:41:27 2003
New Revision: 30
Modified:
trunk/Configure.pl
Log:
Add lib to the configuration
Modified: trunk/Configure.pl
==============================================================================
--- trunk/Configure.pl (original)
+++ trunk/Configure.pl Tue Aug 19 07:41:27 2003
@@ -22,19 +22,29 @@
push @config_args,'-Dusedevel';
push @config_args,'-Dlocincpth=' . $FindBin::Bin . '/parrot/include';
push @config_args,'-Dloclibpth=' . $FindBin::Bin . '/parrot/blib/lib';
+push @config_args,qq{-Dotherlibdirs=lib/};
push @config_args,qq{-A},qq{append:libswanted= parrot};
push @config_args,'-de';
-chdir('parrot');
-system($^X,'Configure.pl');
-system('make');
-chdir('..') || die;
+
+delete($ENV{'PERL5LIB'});
+local(%ENV);
+print Dumper(\%ENV);
+
+unless(-e 'parrot/parrot') {
+ chdir('parrot');
+ system($^X,'Configure.pl');
+ system('make');
+ chdir('..') || die;
+}
chdir('perl') || die;
my $cmd = 'sh Configure ';
$cmd .= join(' ',@config_args);
print "Executing '$cmd'\n";
+
+
system('sh','Configure',@config_args);