On Tue, 3 Feb 2004 10:42:16 -0500, [EMAIL PROTECTED] (Jeff Urlwin) wrote:
>>>Tim Bunce wrote:
>>>> If vcvars32.bat should always be run when using visual C (as I
>>>> presume it should be in this case) then I'd love someone
>>>> to post some
>>>> code that detects when it should be run ($Config{cc} eq 'cl'?) but
>>>> hasn't been (!$ENV{foo}) and gives an clear message about it.
>>>
>>>VSINSTALLDIR and/or VCINSTALLDIR look like good candidates from ...
>>
>> Attached is a patch, on the assumption that VCINSTALLDIR is ...
>
>Actually, I'd recommend against this. That's what the MakeMaker warning is
>for...
Hm, fair point, I think I agree, since checking properly devolves into
scanning libraries; which is what MakeMaker is doing. Although it does say
"probably harmless" - but in this case it's not harmless.