rem * | (__| |_| | _ <| |___
rem * \___|\___/|_| \_\_____|
rem *
-rem * Copyright (C) 2012 - 2014, Steve Holme, <steve_holme@hotmail.com>.
+rem * Copyright (C) 2012 - 2015, Steve Holme, <steve_holme@hotmail.com>.
rem *
rem * This software is licensed as described in the file COPYING, which
rem * you should have received as part of this distribution. The terms
rem Check we have Visual Studio installed
if not exist "%PF%\%VC_PATH%" goto novc
+ rem Check we have Perl installed
+ echo %PATH% | findstr /I /C:"\Perl" 1>nul\r
+ if errorlevel 1 (\r
+ if not exist "%SystemDrive%\Perl" (\r
+ if not exist "%SystemDrive%\Perl64" goto noperl\r
+ )\r
+ )\r
+
rem Check the start directory exists
if not exist "%START_DIR%" goto noopenssl
echo Error: %VC_DESC% is not installed
goto error
+:noperl
+ echo.
+ echo Error: Perl is not installed
+ goto error
+
:nox64
echo.
echo Error: %VC_DESC% does not support 64-bit builds