added dialog for warning if make tool not found

git-svn-id: trunk@5725 -
This commit is contained in:
mattias 2004-08-03 09:21:08 +00:00
parent 6da58dc740
commit 823256e659

View File

@ -303,7 +303,13 @@ begin
Tool.EnvironmentOverrides.Values['PP']:=CompilerPath;
if not FileExists(Tool.Filename) then begin
Tool.Filename:=FindDefaultMakePath;
if not FileExists(Tool.Filename) then exit;
if not FileExists(Tool.Filename) then begin
MessageDlg('Make not found',
'The program "make" was not found.'#13
+'This tool is needed to build lazarus.'#13
,mtError,[mbCancel],0);
exit;
end;
end;
Tool.ScanOutputForFPCMessages:=true;
Tool.ScanOutputForMakeMessages:=true;