Author: fperrad
Date: Tue Oct 25 03:38:58 2005
New Revision: 9555
Modified:
trunk/config/inter/lex.pl
trunk/config/inter/progs.pl
trunk/config/inter/yacc.pl
Log:
1) bug : $^O eq 'MSWin32' (not only Win32)
2) useless : echo is available on MSWin32
Modified: trunk/config/inter/lex.pl
==============================================================================
--- trunk/config/inter/lex.pl (original)
+++ trunk/config/inter/lex.pl Tue Oct 25 03:38:58 2005
@@ -31,7 +31,7 @@ sub runstep {
Configure::Data->set(flex_version => undef);
unless ($args{maintainer}) {
- Configure::Data->set( $util => $^O eq 'Win32' ? 'REM' : 'echo' );
+ Configure::Data->set( $util => 'echo' );
$Configure::Step::result = 'skipped';
return undef;
}
Modified: trunk/config/inter/progs.pl
==============================================================================
--- trunk/config/inter/progs.pl (original)
+++ trunk/config/inter/progs.pl Tue Oct 25 03:38:58 2005
@@ -35,7 +35,7 @@ sub runstep {
# Try each alternative, until one works.
# If none work, then set to null command.
# XXX need config support for a null command.
- my $null = $^O eq 'Win32' ? 'REM' : 'echo';
+ my $null = 'echo';
my $first_working = sub {
foreach (@_) {
`$_ -h 2>&1`;
Modified: trunk/config/inter/yacc.pl
==============================================================================
--- trunk/config/inter/yacc.pl (original)
+++ trunk/config/inter/yacc.pl Tue Oct 25 03:38:58 2005
@@ -31,7 +31,7 @@ sub runstep {
Configure::Data->set(bison_version => undef);
unless ($args{maintainer}) {
- Configure::Data->set( $util => $^O eq 'Win32' ? 'REM' : 'echo' );
+ Configure::Data->set( $util => 'echo' );
$Configure::Step::result = 'skipped';
return undef;
}