mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
build-openssl.bat: Added check for Perl installation
This commit is contained in:
parent
224cf1c274
commit
5f09947d28
@ -6,7 +6,7 @@ rem * / __| | | | |_) | |
|
|||||||
rem * | (__| |_| | _ <| |___
|
rem * | (__| |_| | _ <| |___
|
||||||
rem * \___|\___/|_| \_\_____|
|
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 *
|
||||||
rem * This software is licensed as described in the file COPYING, which
|
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 * you should have received as part of this distribution. The terms
|
||||||
@ -105,6 +105,14 @@ rem ***************************************************************************
|
|||||||
rem Check we have Visual Studio installed
|
rem Check we have Visual Studio installed
|
||||||
if not exist "%PF%\%VC_PATH%" goto novc
|
if not exist "%PF%\%VC_PATH%" goto novc
|
||||||
|
|
||||||
|
rem Check we have Perl installed
|
||||||
|
echo %PATH% | findstr /I /C:"\Perl" 1>nul
|
||||||
|
if errorlevel 1 (
|
||||||
|
if not exist "%SystemDrive%\Perl" (
|
||||||
|
if not exist "%SystemDrive%\Perl64" goto noperl
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
rem Check the start directory exists
|
rem Check the start directory exists
|
||||||
if not exist "%START_DIR%" goto noopenssl
|
if not exist "%START_DIR%" goto noopenssl
|
||||||
|
|
||||||
@ -308,6 +316,11 @@ rem ***************************************************************************
|
|||||||
echo Error: %VC_DESC% is not installed
|
echo Error: %VC_DESC% is not installed
|
||||||
goto error
|
goto error
|
||||||
|
|
||||||
|
:noperl
|
||||||
|
echo.
|
||||||
|
echo Error: Perl is not installed
|
||||||
|
goto error
|
||||||
|
|
||||||
:nox64
|
:nox64
|
||||||
echo.
|
echo.
|
||||||
echo Error: %VC_DESC% does not support 64-bit builds
|
echo Error: %VC_DESC% does not support 64-bit builds
|
||||||
|
Loading…
Reference in New Issue
Block a user