Commit 274f9323 authored by Steve Holme's avatar Steve Holme
Browse files

build-openssl.bat: Added check for OpenSSL source directory

parent 0c467c9c
Loading
Loading
Loading
Loading
+14 −6
Original line number Diff line number Diff line
@@ -105,6 +105,9 @@ rem ***************************************************************************
  rem Check we have Visual Studio installed
  if not exist "%PF%\%VC_PATH%" goto novc

  rem Check the start directory exists
  if not exist "%START_DIR%" goto noopenssl

:configure
  if "%BUILD_PLATFORM%" == "" (
    if "%VC_VER%" == "6.0" (
@@ -282,7 +285,7 @@ rem ***************************************************************************
  echo.
  echo Other:
  echo.
  echo directory - Specifies the openssl directory
  echo directory - Specifies the OpenSSL source directory
  goto error

:unknown
@@ -310,6 +313,11 @@ rem ***************************************************************************
  echo Error: %VC_DESC% does not support 64-bit builds
  goto error

:noopenssl
  echo.
  echo Error: Cannot locate OpenSSL source directory
  goto error

:error
  if "%OS%" == "Windows_NT" endlocal
  exit /B 1