IDE: searching make in PATH when building IDE

git-svn-id: trunk@21366 -
This commit is contained in:
mattias 2009-08-20 18:16:02 +00:00
parent 6e27090dbc
commit ebccebbc91

View File

@ -347,9 +347,11 @@ begin
Tool.EnvironmentOverrides.Values['LANG']:= 'en_US';
if CompilerPath<>'' then
Tool.EnvironmentOverrides.Values['PP']:=CompilerPath;
if not FileExistsUTF8(Tool.Filename) then
Tool.Filename:=FindDefaultExecutablePath(Tool.Filename);
if not FileExistsUTF8(Tool.Filename) then begin
Tool.Filename:=FindDefaultMakePath;
if not FileExistsUTF8(Tool.Filename) then begin
if not FileExistsUTF8(MakePath) then begin
MessageDlg(lisMakeNotFound,
Format(lisTheProgramMakeWasNotFoundThisToolIsNeededToBuildLa, ['"',
'"', #13, #13])