summaryrefslogtreecommitdiff
path: root/win32/config_h.PL
diff options
context:
space:
mode:
Diffstat (limited to 'win32/config_h.PL')
-rw-r--r--win32/config_h.PL3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/config_h.PL b/win32/config_h.PL
index a0ee22d305..607c4844a2 100644
--- a/win32/config_h.PL
+++ b/win32/config_h.PL
@@ -2,7 +2,6 @@
use Config;
use File::Compare qw(compare);
use File::Copy qw(copy);
-my $OBJ = 1 if $Config{'ccflags'} =~ /PERL_OBJECT/i;
my $name = $0;
$name =~ s#^(.*)\.PL$#../$1.SH#;
my %opt;
@@ -73,7 +72,7 @@ chmod(0666,"../lib/CORE/config.h");
copy("$file.new","../lib/CORE/config.h") || die "Cannot copy:$!";
chmod(0444,"../lib/CORE/config.h");
-if (!$OBJ && compare("$file.new",$file))
+if (compare("$file.new",$file))
{
warn "$file has changed\n";
chmod(0666,$file);