From 823256e6592c96b682506300038dcfe2d05c2ad0 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 3 Aug 2004 09:21:08 +0000 Subject: [PATCH] added dialog for warning if make tool not found git-svn-id: trunk@5725 - --- ide/buildlazdialog.pas | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ide/buildlazdialog.pas b/ide/buildlazdialog.pas index 4664083834..598bfb7aaf 100644 --- a/ide/buildlazdialog.pas +++ b/ide/buildlazdialog.pas @@ -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;