mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
build-openssl.bat: Added check for OpenSSL source directory
This commit is contained in:
parent
0c467c9cc7
commit
274f932311
@ -104,6 +104,9 @@ 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 the start directory exists
|
||||||
|
if not exist "%START_DIR%" goto noopenssl
|
||||||
|
|
||||||
:configure
|
:configure
|
||||||
if "%BUILD_PLATFORM%" == "" (
|
if "%BUILD_PLATFORM%" == "" (
|
||||||
@ -282,7 +285,7 @@ rem ***************************************************************************
|
|||||||
echo.
|
echo.
|
||||||
echo Other:
|
echo Other:
|
||||||
echo.
|
echo.
|
||||||
echo directory - Specifies the openssl directory
|
echo directory - Specifies the OpenSSL source directory
|
||||||
goto error
|
goto error
|
||||||
|
|
||||||
:unknown
|
:unknown
|
||||||
@ -305,11 +308,16 @@ rem ***************************************************************************
|
|||||||
echo Error: %VC_DESC% is not installed
|
echo Error: %VC_DESC% is not installed
|
||||||
goto error
|
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
|
||||||
goto error
|
goto error
|
||||||
|
|
||||||
|
:noopenssl
|
||||||
|
echo.
|
||||||
|
echo Error: Cannot locate OpenSSL source directory
|
||||||
|
goto error
|
||||||
|
|
||||||
:error
|
:error
|
||||||
if "%OS%" == "Windows_NT" endlocal
|
if "%OS%" == "Windows_NT" endlocal
|
||||||
exit /B 1
|
exit /B 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user