diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-31 10:32:37 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-31 10:32:37 +0300 |
commit | 29a2abb9a3612bcef6a42e11caf52b16b774178a (patch) | |
tree | e6fd8561360c63179f7cc3c0c2c1b2a719c39d31 /autogen.sh | |
parent | a53ebd43ec514d270d4ff299163825ee6cb1704d (diff) |
We should not look for .exe extensions for Cygwin programs
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh index ece85b6bdcf9..4d5037062c36 100755 --- a/autogen.sh +++ b/autogen.sh @@ -22,12 +22,10 @@ sub sanity_checks($) 'autoconf' => "autoconf is required", 'aclocal' => "aclocal is required", ); - my $exe_ext = ''; - $exe_ext = ".exe" if ($system =~ m/CYGWIN/); for my $elem (@path) { for my $app (keys %required) { - if (-f "$elem/$app$exe_ext") { + if (-f "$elem/$app") { delete $required{$app}; } } @@ -35,7 +33,7 @@ sub sanity_checks($) if ((keys %required) > 0) { print ("Various low-level dependencies are missing, please install them:\n"); for my $app (keys %required) { - print "\t $app$exe_ext: " . $required{$app} . "\n"; + print "\t $app: " . $required{$app} . "\n"; } exit (1); } |