# New Ticket Created by  David Woldrich 
# Please include the string:  [perl #41102]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41102 >


Affected files: 

config/init/hints/mswin32.pm
config/inter/make.pm

The Parrot configuration scripts were not incorporating the cues given 
by the user when --cc=cl to use the microsoft build environment when 
mingw was also present on the system.
Additionally, nmake is now forced as the make exe in the 
config/init/hints/mswin32.pm file.

Cheers,
Dave Woldrich
Index: config/init/hints/mswin32.pm
===================================================================
--- config/init/hints/mswin32.pm        (revision 16127)
+++ config/init/hints/mswin32.pm        (working copy)
@@ -58,6 +58,7 @@
 
             make_c     => q{$(PERL) -e "chdir shift @ARGV;}
                 . q{system '$(MAKE)', '-nologo', @ARGV; exit $$? >> 8;"},
+           make       => 'nmake',          
 
             # ZI messes with __LINE__
             cc_debug             => '-Zi',
Index: config/inter/make.pm
===================================================================
--- config/inter/make.pm        (revision 16127)
+++ config/inter/make.pm        (working copy)
@@ -40,6 +40,7 @@
 
     # precedence of sources for the program:
     # default -> probe -> environment -> option -> ask
+    $prog ||= $conf->data->get($util);
     $prog ||= $conf->options->get($util);
     $prog ||= $ENV{uc($util)};
 

Reply via email to