# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.\r
+# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
shift & goto parseArgs
:prerequisites
- rem Default the start directory if one isn't specified\r
- if not defined START_DIR set START_DIR=..\..\openssl\r
-\r
+ rem Default the start directory if one isn't specified
+ if not defined START_DIR set START_DIR=..\..\openssl
+
rem Calculate the program files directory
if defined PROGRAMFILES (
set "PF=%PROGRAMFILES%"
rem Check we have Visual Studio installed
if not exist "%PF%\%VC_PATH%" goto novc
-\r
- rem Check the start directory exists\r
- if not exist "%START_DIR%" goto noopenssl\r
+
+ rem Check the start directory exists
+ if not exist "%START_DIR%" goto noopenssl
:configure
if "%BUILD_PLATFORM%" == "" (
:syntax
rem Display the help
echo.
- echo Usage: build-openssl ^<compiler^> ^<platform^> [configuration] [directory]\r
+ echo Usage: build-openssl ^<compiler^> ^<platform^> [configuration] [directory]
echo.
echo Compiler:
echo.
echo Error: %VC_DESC% is not installed
goto error
-:nox64\r
- echo.\r
- echo Error: %VC_DESC% does not support 64-bit builds\r
- goto error\r
-\r
-:noopenssl\r
- echo.\r
- echo Error: Cannot locate OpenSSL source directory\r
- goto error\r
-\r
+:nox64
+ echo.
+ 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