From 263547cf175c11e9bd5138f28155ccd4aa36e055 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 6 Jan 2010 16:10:20 +0000 Subject: added info for build with gnutls on windows --- README | 10 ++++++++-- src/configure | 1 - src/main_loop.lua | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README b/README index 4b605ee..ebb04a1 100644 --- a/README +++ b/README @@ -55,9 +55,16 @@ Windows ------- common: - Visual Studio C++ (Express Edition is just fine) + MinGW and MSYS (details follow) lua-5.1.x +using gnutls: + http://josefsson.org/gnutls4win/gnutls-2.9.9.zip (extract in MinGW Directory) + +using openssl: + MSYS openssl dll (extract in MinGW Directory) + MSYS openssl dev (extract in MinGW Directory) + Installation ============ @@ -117,7 +124,6 @@ This removes everytthing except for the config files This also removes the config files - Usage: ====== diff --git a/src/configure b/src/configure index b07e4fd..f6faa48 100755 --- a/src/configure +++ b/src/configure @@ -131,7 +131,6 @@ case $TARGET in CFLAGS=$CFLAGS' -DWINVER=0x501 -D_WIN32_WINNT -D_WIN32' LDFLAGS=$LDFLAGS' -lwsock32' TARGET=mingw - CRYPTO_LIB=openssl if [ -z "$LUA_DIR" ]; then echo "No Lua tree specified, use --with-lua" exit 1 diff --git a/src/main_loop.lua b/src/main_loop.lua index b7dd5af..f7f09e9 100644 --- a/src/main_loop.lua +++ b/src/main_loop.lua @@ -36,7 +36,7 @@ function main_loop(opt) local sig = signal.init() local sock = {} - sock[1] = echo_server.init("localhost", 4500) + sock[1] = echo_server.init("localhost", 9000) if(sock[1] == nil) then return -1 end sock[2] = echo_server.init("localhost", 10000) -- cgit v1.2.3