Make t/win32/system.t use the more common compiler check
Hello again,
much of the Perl test suite uses $Config{cc} =~ /^gcc/i to determine
whether the compiler looks/acts like gcc. This patch enables that
behaviour in t/win32/system.t too.
The reason behind this is that I have a batch file named gcc-ccache.cmd,
which I give to dmake as my compiler, and having things like this work
everywhere in Perl is nice.
Possibly, a more sane way of keeping the kind of compiler handy would be
to make $Config{CCTYPE} come into existence and have it store "gcc",
"msvc" and what other cc types we support.
-max
From
f2e73cb5249433631fd4db5b46f62d05ff35526c Mon Sep 17 00:00:00 2001
From: Max Maischein <corion@corion.net>
Date: Mon, 26 Jan 2009 21:44:36 +0100
Subject: [PATCH] Unbreak the test if your compiler looks like gcc