Tools/ChangeLog

 12013-05-16 Jonathan Liu <net147@gmail.com>
 2
 3 Fix testing if program exists in PATH
 4 https://bugs.webkit.org/show_bug.cgi?id=116216
 5
 6 functions.prf incorrectly uses win_cmd_shell to test whether to
 7 add .exe to the executable name when checking if it exists in
 8 the PATH environment variable. This works correctly when
 9 building using Windows Command Prompt but not under MSYS shell.
 10
 11 To resolve this, check the win32 platform scope instead of
 12 win_cmd_shell so that it correctly adds .exe to the executable
 13 name on Windows regardless of the shell used when testing if
 14 it exists in PATH.
 15
 16 Reviewed by NOBODY (OOPS!).
 17
 18 * qmake/mkspecs/features/functions.prf:
 19
1202013-05-15 Brent Fulgham <bfulgham@apple.com>
221
322 [Windows] Update various build tools to understand VS2010 environment.

Tools/qmake/mkspecs/features/functions.prf

@@defineTest(haveQtModule) {
204204}
205205
206206defineTest(programExistsInPath) {
207  win_cmd_shell: program = $${1}.exe
 207 win32: program = $${1}.exe
208208 else: program = $$1
209209
210210 PATH = "$$(PATH)"