summaryrefslogtreecommitdiff
path: root/win32/config_sh.PL
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2011-09-10 17:21:58 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2011-09-10 18:16:59 +0100
commit378eeda70cc27194f0f718b4c65b8ba147259910 (patch)
tree26c3c6b5adb9c5027a78c6143cdced30ce57a9d4 /win32/config_sh.PL
parent528bd3ce854c33aaf668dd3aa007a60a4994edac (diff)
downloadperl-378eeda70cc27194f0f718b4c65b8ba147259910.tar.gz
The Borland Chainsaw Massacre
Remove support for the Borland C++ compiler on Win32, as agreed here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2011-09/msg00034.html
Diffstat (limited to 'win32/config_sh.PL')
-rw-r--r--win32/config_sh.PL11
1 files changed, 3 insertions, 8 deletions
diff --git a/win32/config_sh.PL b/win32/config_sh.PL
index 2c319b5e7e..9b260277d1 100644
--- a/win32/config_sh.PL
+++ b/win32/config_sh.PL
@@ -90,15 +90,11 @@ else {
}
if (exists $opt{cc}) {
- # cl and bcc32 version detection borrowed from Test::Smoke's configsmoke.pl
+ # cl version detection borrowed from Test::Smoke's configsmoke.pl
if ($opt{cc} eq 'cl') {
my $output = `cl --version 2>&1`;
$opt{ccversion} = $output =~ /^.*Version\s+([\d.]+)/ ? $1 : '?';
}
- elsif ($opt{cc} eq 'bcc32') {
- my $output = `bcc32 --version 2>&1`;
- $opt{ccversion} = $output =~ /([\d.]+)/ ? $1 : '?';
- }
elsif ($opt{cc} =~ /\bgcc\b/) {
chomp($opt{gccversion} = `$opt{cc} -dumpversion`);
}
@@ -120,9 +116,8 @@ unless (defined $ENV{SYSTEMROOT}) { # SystemRoot has been introduced by WinNT
# change the lseeksize and lseektype from their canned default values (which
# are set-up for a non-uselargefiles build) if we are building with
-# uselargefiles. don't do this for bcc32: the code contains special handling
-# for bcc32 and the lseeksize and lseektype should not be changed.
-if ($opt{uselargefiles} eq 'define' and $opt{cc} ne 'bcc32') {
+# uselargefiles.
+if ($opt{uselargefiles} eq 'define') {
$opt{lseeksize} = 8;
if ($opt{cc} eq 'cl') {
$opt{lseektype} = '__int64';