[svn] Windows update from Herold Heiko.

This commit is contained in:
hniksic 2001-12-12 03:33:04 -08:00
parent b0ab325703
commit 84e9851688
3 changed files with 31 additions and 19 deletions

View File

@ -53,10 +53,9 @@ you need to specify your alternate OpenSSL root directory. For
instance, if libcrypto.* and libssl.* are in /opt/openssl/lib, you instance, if libcrypto.* and libssl.* are in /opt/openssl/lib, you
need to `configure --with-ssl=/opt/openssl'. need to `configure --with-ssl=/opt/openssl'.
To configure Wget on Windows, run configure.bat and follow the To configure Wget on Windows, read the instructions in `windows/Readme'.
instructions in the windows/ directory. If this doesn't work for any If this doesn't work for any reason, talk to the Windows developers
reason, talk to the Windows developers listed in `windows/README'; I listed there; I do not maintain the port.
do not maintain the port.
2) Compilation 2) Compilation

View File

@ -19,11 +19,12 @@
# Version: 1.4.4 # Version: 1.4.4
# #
#Uncomment these if you have openssl available #Comment these if you don't have openssl available - however https
#SSLDEFS = /DHAVE_SSL #won't work.
#SSLLIBS = libeay32.lib ssleay32.lib SSLDEFS = /DHAVE_SSL
#SSLSRC = gen_sslfunc.c SSLLIBS = libeay32.lib ssleay32.lib
#SSLOBJ = gen_sslfunc$o SSLSRC = gen_sslfunc.c
SSLOBJ = gen_sslfunc$o
SHELL = command SHELL = command

View File

@ -1,8 +1,24 @@
-*- text -*- -*- text -*-
To build Wget with VC++ run configure.bat in the wget directory, and To build Wget with VC++ run configure.bat (in the main wget directory),
then run nmake. At a certain point in time wget exposed some compiler and then run nmake. At a certain point in time wget exposed some
bugs in VC++ 5.0; VC++ 6.0 sp 5 is known to be safe. compiler bugs in VC++ 5.0; VC++ 6.0 sp 5 is known to be safe. However
read the rest of this document before continuing.
For VC++ the current default is to configure wget with ssl support;
first get openssl (http://www.openssl.org), compile it and install
relevant headers and libraries where your compiler can find them;
currently this could mean (presuming default installation directories)
copy (from the compiled openssl dirctory) the whole inc32/openssl
directory and its contents to
"C:\Program Files\Microsoft Visual Studio\VC98\Include\openssl",
and from out32dll (in the openssl directory) the two needed libraries
(libeay32.lib and ssleay32.lib) to
"C:\Program Files\Microsoft Visual Studio\VC98\lib".
These locations aren't exactly the best but will get you started if you
don't know where to place these headers and libraries.
Usually at runtime some openssl libraries (currently ssleay32.dll and
libeay32.dll) will need to be available in your environment PATH.
If you want to build the help file you will need a copy of makeinfo to If you want to build the help file you will need a copy of makeinfo to
convert wget.texi to rtf and html. I've made a copy available at convert wget.texi to rtf and html. I've made a copy available at
@ -13,13 +29,9 @@ will need perl 5, one possibility is Activeperl (currently free) from
install instructions for the current version available (since the install instructions for the current version available (since the
packages and installation instructions change from time to time). packages and installation instructions change from time to time).
To configure Wget with VC++ with ssl support first get openssl, If you don't want/can't to compile wget with openssl comment the SSL
compile it and install relevant headers and libraries where your related lines in windows\Makefile.src; then follow the normal
compiler can find them; then uncomment the SSL related lines in instructions (configure.bat and so on).
windows\Makefile.src; then follow the normal instructions
(configure.bat and so on).
Usually at runtime some openssl libraries (currently ssleay32.dll and
libeay32.dll) will need to be available in your environment PATH.
Windows contributors: Windows contributors: